M murt Nov 4, 2003 #3 Hi Cj, can you perhaps help further, form2.show throws up an error, thanks Murt
C Chris Dunaway Nov 4, 2003 #4 How do i start one form from another in VB .net? Click to expand... Dim frmNext As New Form2 frmNext.Show
How do i start one form from another in VB .net? Click to expand... Dim frmNext As New Form2 frmNext.Show
D David Ricker Nov 4, 2003 #5 You cannot directly call forms in .NET. You must declare a variable as an instance of the form, and then use it to show the form. Dim f2 As New Form2 f2.show Thanks, David J. Ricker II
You cannot directly call forms in .NET. You must declare a variable as an instance of the form, and then use it to show the form. Dim f2 As New Form2 f2.show Thanks, David J. Ricker II
A Armin Zingler Nov 4, 2003 #6 murt said: can you perhaps help further, form2.show throws up an error, Click to expand... Where did you declare the variable Form2? more info: http://msdn.microsoft.com/library/en-us/vbcon/html/vbtskDisplayingModelessForm.asp
murt said: can you perhaps help further, form2.show throws up an error, Click to expand... Where did you declare the variable Form2? more info: http://msdn.microsoft.com/library/en-us/vbcon/html/vbtskDisplayingModelessForm.asp