IanNav
Programmer
- Feb 26, 2001
- 79
Hi,
I am new to vb.net (but have been using vb6 for a while), and i am trying to do something extremly simple.
But it is frustrating me...!
Basically i have 2 forms.
1) Loginfrm
2) Userfrm
I load the login form, and when i press ok on it i want it to close the login form and open the user form.
In vb6 i would use the unload() function, but i can't seem to get the hang of doing it in .net.
I try to use the .close function on the form object but it closes the whole project... which is not what i want.
Can anyone explain how to do this real simple task and where i am going wrong.
Thanks
Ian
I am new to vb.net (but have been using vb6 for a while), and i am trying to do something extremly simple.
But it is frustrating me...!
Basically i have 2 forms.
1) Loginfrm
2) Userfrm
I load the login form, and when i press ok on it i want it to close the login form and open the user form.
In vb6 i would use the unload() function, but i can't seem to get the hang of doing it in .net.
I try to use the .close function on the form object but it closes the whole project... which is not what i want.
Can anyone explain how to do this real simple task and where i am going wrong.
Thanks
Ian