Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Form copy.
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Mint




PostPosted: Fri Jun 18, 2004 5:11 pm   Post subject: Form copy.

How would I make a form copy it's self when a a cmdbutton is clicked, that or generate a new one, or copy another one.

Thanks.
Sponsor
Sponsor
Sponsor
sponsor
Brightguy




PostPosted: Fri Jun 18, 2004 9:46 pm   Post subject: Re: Form copy.

Depends how you want the form to "copy". See if this works for you:
code:
Private Form2 As New Form1

Private Sub Command1_Click()
    Form2.Show
End Sub
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: