|
-
Jul 2nd, 2002, 05:07 PM
#1
Thread Starter
New Member
combining forms in VB.net
I've built three little nifty database manipulation programs with vb.net and would like to integrate all three into a single program.. maybe tabs on a form.. or icons on a form that pops up the appropiate form, any idea how to do this without starting from scratch and rebuilding all my dataconnectors and dbcommands?
Thanks
-
Jul 2nd, 2002, 06:01 PM
#2
Addicted Member
There are many different ways to do this but a suggestion is...
Convert the three projects to class library projects.
Create a new project that will serve as the Main App and set the references to the class libraries.
Add the tab pages and in each page add a panel. You can launch one of the old apps in the panel using . . .
dim frm as new MyoldForm()
frm.TopLevel = false
frm.Dock = DockStyle.Fill
Panel1.Controls.Add(frm)
frm.show
Hope that will help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|