S Sven Jan 22, 2004 #1 In VB 6 I could show a new form like this: Form2.show how is this possible in VB.NET? Thanks a lot
T Trev Hunter Jan 22, 2004 #2 Try the following: ----------------- Dim objForm as Form2 objForm = New Form2 objForm.Show --------------- In VB.net you have to explicitly create an instance of the form class. VB6 did this in the background for you. HTH, Trev.
Try the following: ----------------- Dim objForm as Form2 objForm = New Form2 objForm.Show --------------- In VB.net you have to explicitly create an instance of the form class. VB6 did this in the background for you. HTH, Trev.
G Guest Jan 22, 2004 #4 Yes 2 ways Form1.show <---- normal show(click anywhere else on screen, form1 goes in background) Form1.showdialog<----- lock the screen on form1
Yes 2 ways Form1.show <---- normal show(click anywhere else on screen, form1 goes in background) Form1.showdialog<----- lock the screen on form1
S Sven Jan 22, 2004 #5 thanks a lot! sorry for this easy questin I'm new to VB.Net... it's quite different from VB.NET
J Jan Tielens Jan 22, 2004 #6 If you need more info: http://www.devcity.net/net/article.aspx?alias=multipleforms
H Herfried K. Wagner [MVP] Jan 22, 2004 #7 * "Sven said: In VB 6 I could show a new form like this: Form2.show how is this possible in VB.NET? Click to expand... \\\ Call (New Form2()).Show() ///
* "Sven said: In VB 6 I could show a new form like this: Form2.show how is this possible in VB.NET? Click to expand... \\\ Call (New Form2()).Show() ///