Naval
asked on
Loading Form in NET
Hello, I'm a beginner at Visual Basic NET and I've come across a problem =(.
At my computer science class at high school, I asked my teacher about how to switch from Form1 to Form2 using a button on Form1. Well he told me to put this code into the button on Form1:
Load Form2
Form2.Visible = True
Form2.SetFocus
Unload Form1
But you see at my high school we work on Visual Basic 6, I use NET. This doesn't work on NET, so how would I do this on Visual Studio NET (Switch from Form1 to Form2)?
At my computer science class at high school, I asked my teacher about how to switch from Form1 to Form2 using a button on Form1. Well he told me to put this code into the button on Form1:
Load Form2
Form2.Visible = True
Form2.SetFocus
Unload Form1
But you see at my high school we work on Visual Basic 6, I use NET. This doesn't work on NET, so how would I do this on Visual Studio NET (Switch from Form1 to Form2)?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.