Open a form in a new window?

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Nov 2009
Posts: 1
Reputation: cooldude9509 is an unknown quantity at this point 
Solved Threads: 0
cooldude9509 cooldude9509 is offline Offline
Newbie Poster

Open a form in a new window?

 
0
  #1
Nov 11th, 2009
I'm new here at DaniWeb, and my english suck.
Does anybody know how to make a form open itself, just in a new window? I want to make a form, that haves a button in it. when i click the button, it opens up a "copy" of itself (the old window is still open). i know it sounds stupid, but i'm new to vb6. any help please? thank you.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 889
Reputation: vb5prgrmr will become famous soon enough vb5prgrmr will become famous soon enough 
Solved Threads: 167
vb5prgrmr vb5prgrmr is offline Offline
Practically a Posting Shark
 
0
  #2
Nov 11th, 2009
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. Private Sub Command1_Click()
  2. Dim F As Form
  3. Set F = New Form1
  4. F.Show
  5. End Sub



Good Luck
If anyone has helped you solve your problem, please mark your thread as solved.

Thanks
Reply With Quote Quick reply to this message  
Reply

Tags
basic, copy, form, open, visual, window

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for basic, copy, form, open, visual, window
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC