Ok, I'll admit first that VB6 is not my strongest lang. but this seems to simple a problem for me to grasp.
I want a form to open for login and then load the main form but when I try to unload/close my login form, the app ends.
- code -
If {Login test fails} Then
msgbox bad login
Else
Call SetUserID(txtName.Text) ' Sets my global for username
Load frmMain
Unload frmLogin
End If
Am I missing the obvious here? :-(
Thanks for the help
Peter
I want a form to open for login and then load the main form but when I try to unload/close my login form, the app ends.
- code -
If {Login test fails} Then
msgbox bad login
Else
Call SetUserID(txtName.Text) ' Sets my global for username
Load frmMain
Unload frmLogin
End If
Am I missing the obvious here? :-(
Thanks for the help
Peter