VB.NETGeneral VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the VB.NET section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
Not quite sure I fully understand you, but to load a form in VB.Net you need to declare an object like so
Dim frm as form1
frm.show
There is no unload in VB.net, to close a form try
frm.close (where frm is the name of your form)
for modal forms
dim frm as form1
frm.showdialog(me)
frm.close
frm.dispose
the reason for the dispose is that the form can still be hanging around after the close on a dialog form. This also may be the case for modaless forms but I have not found this to be so much of an issue.