G
Guest
Hello All,
Having a lot of trouble with what seems to be a simple task.
I have a windows app that starts with a login form. Once the user logs in
the main application screen starts.
I can't find a way to close the login form without closing the rest of the
app. So as a band-aid I am currently just hiding the login form.
Me.Hide()
Dim CMIMain As New CMIMain()
CMIMain.Show()
This is not what I want as the login form is still hidden even after the
CMIMain is closed, therefore the program never really closes.
I have tried making the CMIMain as the startup page, then get the erorr:
'Sub Main' was not found in 'CMI.CMIMain'.
If I add a sub Main() to CMIMain I get the error:
No accessible 'Main' method with an appropriate signature was found in
'CMI.CMIMain'.
Any Suggestions to get me on the right track?
Thanks!!
Having a lot of trouble with what seems to be a simple task.
I have a windows app that starts with a login form. Once the user logs in
the main application screen starts.
I can't find a way to close the login form without closing the rest of the
app. So as a band-aid I am currently just hiding the login form.
Me.Hide()
Dim CMIMain As New CMIMain()
CMIMain.Show()
This is not what I want as the login form is still hidden even after the
CMIMain is closed, therefore the program never really closes.
I have tried making the CMIMain as the startup page, then get the erorr:
'Sub Main' was not found in 'CMI.CMIMain'.
If I add a sub Main() to CMIMain I get the error:
No accessible 'Main' method with an appropriate signature was found in
'CMI.CMIMain'.
Any Suggestions to get me on the right track?
Thanks!!