Loading/Unloading Forms

  • Thread starter Thread starter Wayne Wengert
  • Start date Start date
W

Wayne Wengert

In VB6 I used to use frmForm1.Show to make a form visible to the user and
then use Unload frmForm1 to unload it. I have an app in which I need to
"load" and "unload" forms based on user actions. How do I do this in VB.NET?
Just hiding a form won't do as I need the logic in the OnLoad event to
execute when the form loads each time.
 
There are a lot of things like that in .NET. There's a
very large section in the documentation that describes the
differences between VB.NET and VB6. In the .NET help
enter "Visual Basic, what's changed" in the "Look for:"
prompt and the topic "Introduction to Visual Basic .NET
for Visual Basic Veterans" will be displayed.

Good luck!
 
Thanks - will do!

Wayne

John Cottrell said:
There are a lot of things like that in .NET. There's a
very large section in the documentation that describes the
differences between VB.NET and VB6. In the .NET help
enter "Visual Basic, what's changed" in the "Look for:"
prompt and the topic "Introduction to Visual Basic .NET
for Visual Basic Veterans" will be displayed.

Good luck!
 
Back
Top