R rushabhkapasi Apr 8, 2004 #1 I want to know how to go from one form to another form in vb.net while closing the first form.
M Michael Horton Apr 8, 2004 #2 Depends on how you're closing the first form but if it's by a button you can do it like this dim frm as new Form2 frm.show Form1.Close You could also put it in the Closing even of Form1 MyBase.Close (or Closing) but you won't need the Form1.Close line. If you using a button or something to close the first form you may need to add I want to know how to go from one form to another form in vb.net while closing the first form. Click to expand... engine supports Post Alerts, Ratings, and Searching.
Depends on how you're closing the first form but if it's by a button you can do it like this dim frm as new Form2 frm.show Form1.Close You could also put it in the Closing even of Form1 MyBase.Close (or Closing) but you won't need the Form1.Close line. If you using a button or something to close the first form you may need to add I want to know how to go from one form to another form in vb.net while closing the first form. Click to expand... engine supports Post Alerts, Ratings, and Searching.