R reidarT Aug 25, 2004 #1 In vb6 I use form.show to open a form. How do I open forms in vb.net? regards reidarT
H Hal Rosser Aug 26, 2004 #2 assuming the form name's is frmX: Dim myForm as new frmX frmX.showDialog()
H Herfried K. Wagner [MVP] Aug 26, 2004 #3 * "reidarT said: In vb6 I use form.show to open a form. How do I open forms in vb.net? Click to expand... \\\ Dim f As New FooForm() f.Show() /// - or - \\\ Dim f As New FooForm() f.ShowDialog() f.Dispose() ///
* "reidarT said: In vb6 I use form.show to open a form. How do I open forms in vb.net? Click to expand... \\\ Dim f As New FooForm() f.Show() /// - or - \\\ Dim f As New FooForm() f.ShowDialog() f.Dispose() ///
C Cor Ligthert Aug 26, 2004 #5 Reider, The sample from Hal is a showdialog, something the same as an own made messagebox. Have a look to the message from Herfried for the difference of that. Cor
Reider, The sample from Hal is a showdialog, something the same as an own made messagebox. Have a look to the message from Herfried for the difference of that. Cor
J Jimmy Patenia Aug 27, 2004 #6 There is a typo. It should be ... Dim myForm as new frmX myForm.ShowDialog()