G
Guest
I'm using VB.Net 2005 beta 2 and have my login form (login.vb) specified as
the startup form. If the user is successful logging in, I call my main form
(main.vb). This all works fine but the problem is that the login form stays
open. I put a me.close (in the login form) after opening the main form but
that seems to close everything and the main form is not displayed.
I thought I could call a Sub Main() that calls the login form, closes it
then calls the main form. However, I don't see where I can call the sub Main
since the project property only gives you an option to call a Startup Form.
Thanks!
the startup form. If the user is successful logging in, I call my main form
(main.vb). This all works fine but the problem is that the login form stays
open. I put a me.close (in the login form) after opening the main form but
that seems to close everything and the main form is not displayed.
I thought I could call a Sub Main() that calls the login form, closes it
then calls the main form. However, I don't see where I can call the sub Main
since the project property only gives you an option to call a Startup Form.
Thanks!