Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to open a form

Status
Not open for further replies.

Vasavi2003

Programmer
Joined
Aug 14, 2003
Messages
3
Location
IN
Hello techies,
I am doing database project in VC++ and ms-sql.
I have different forms like ITEMMASTERFORM,CONSUMABLEFORM,NONCONSUMABLEFORM,and so..on
(just like studentform,feeform,instructorform,subjectform etc in STUDENT database).

I have created all forms in SDI document using ODBC and connecting the CRecordSet i.e table from ms-sql.

I have created some buttons on main form and used the command
CTest1View::OnConsumbaleFormButton()
{
WinExec("consumbaleform.exe",SW_SHOW);
}
it is just woorking .i.e it is opening the form,but the earlier form is not closing ...
howw to close previous form ,after the second from has been opened.
is there other way to connect forms...

2. how to insert pictures(logos) at runtime (using form view and picture control).

any help appreciated in advance.


REGARDS,
Vasavi.









 
If you have an Access project to SQLServer and want to manipulate forms from C++ you should use COM (Automation)

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top