joeybagadonutz Posted January 14, 2004 Posted January 14, 2004 Hi, This is the simple code i use to open a new form in vs.net using vb: Dim extranet As New Extranet extranet.Show() So my question is, how do I make the current form im on close when i open a new form? This doesnt work: frmLogin.Close() It give me an error, do I have to dim something first to close the current form? thanks. Quote
Administrators PlausiblyDamp Posted January 14, 2004 Administrators Posted January 14, 2004 me.close Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
joeybagadonutz Posted January 14, 2004 Author Posted January 14, 2004 me.close seems to close the whole program, and put me back into visual studio. Am I doing something wrong? Quote
Administrators PlausiblyDamp Posted January 14, 2004 Administrators Posted January 14, 2004 http://www.xtremedotnettalk.com/showthread.php?s=&threadid=74805&highlight=application.run+form Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.