Results 1 to 6 of 6

Thread: Having One Form Open More Than Once

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800

    Post

    How do I make a form open more than once? Like a browser?

  2. #2
    Guest
    Try this code. Make 2 Forms. Form1 and Form2 and put the following code into a CommandButton in Form1.

    Code:
    Dim frmNew As New Form2
    frmNew.Show
    If you want to open the Form that you are currently working on (Form1) then just replace Form2 with Form1 like so.

    Code:
    Dim frmNew As New Form1
    frmNew.Show

  3. #3
    Lively Member
    Join Date
    Jun 2000
    Location
    Belgium
    Posts
    77
    Try this
    Code:
    Dim frmNew1 As New Form1
    Dim frmNew2 As New Form1
    ' Open the first instance of the form
    Load frmNew1
    frmNew1.Show
    ' Open the second instance of the form
    Load frmNew2
    frmNew2.Show
    KWell

  4. #4
    Lively Member
    Join Date
    Jan 2000
    Posts
    95
    ummm...kwell...thats the same thing megatron did.

  5. #5
    Lively Member
    Join Date
    Jun 2000
    Location
    Belgium
    Posts
    77

    Red face

    yes, I think we make the post at the same time
    KWell

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    Perfect! Thanks guys!

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