B Barnzey New member Joined Jul 8, 2004 Messages 1 Programming Experience Beginner Jul 9, 2004 #1 How can i open a new form by clicknig a button?
C CattleRustler Member Joined Jun 3, 2004 Messages 5 Programming Experience 10+ Jul 12, 2004 #2 well assuming you have the form UI already drawn up in your project (and is named MyForm for example) just put this code in your buttons click event: Dim fMyForm as New MyForm fMyForm.Show() -or- if you want it modal then Dim fMyForm as New MyForm fMyForm.ShowDialog() Upvote 0 Downvote
well assuming you have the form UI already drawn up in your project (and is named MyForm for example) just put this code in your buttons click event: Dim fMyForm as New MyForm fMyForm.Show() -or- if you want it modal then Dim fMyForm as New MyForm fMyForm.ShowDialog()