Results 1 to 2 of 2

Thread: combining forms in VB.net

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Posts
    12

    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

  2. #2
    Addicted Member
    Join Date
    Nov 2000
    Location
    San Diego - California
    Posts
    251
    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
  •  



Click Here to Expand Forum to Full Width