Results 1 to 3 of 3

Thread: [RESOLVED] Combining two Forms

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2009
    Posts
    71

    Resolved [RESOLVED] Combining two Forms

    Hello all,

    I would like to know if it is possible to combine two forms in Visual Basic (with or without code written already in them) into one form. So that they are side by side. These are the forms that you start out with in Visual Basic to make your program (Not forums LOL).

    Thanks in advance everybody.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Combining two Forms

    You can display two forms next to each other but they are not "combined" in any way. If you want a single form then you have to use a single form. If you want UI components that you can use on multiple different forms you should create UserControls. You could then create two separate UserControls and display them each on their own form or next to each other on a single form.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2009
    Posts
    71

    Re: Combining two Forms

    Thanks for the quick reply,


    I will give this a try!
    Last edited by VisualBasic2008; Aug 26th, 2009 at 10:57 PM.

Tags for this Thread

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