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
<rushabhkapasi@-NOSPAM-hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I want to know how to go from one form to another form in vb.net while
closing the first form.
---
Posted using Wimdows.net NntpNews Component -
Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup
engine supports Post Alerts, Ratings, and Searching.