G
Guest
I have a problem I can't find a solution for. I have given my users the
ability to
restart the application from the File menu. I don't know how to re-invoke the
sub main() in my .vb module -- in the sub main, I do the following:
Dim frmSignon As New frmSignon
frmSignon.ShowDialog()
Application.Run(New frmMain)
First, am I invoking my application properly (I call the frmSignon first,
and if that's
successful, I then run the main application screen) and second, how do I
re-invoke
the application from within the main screen? I tried:
Application.Exit
Dim frmSignon As New frmSignon
frmSignon.ShowDialog()
Application.Run(New frmMain)
which upset the program terribly and it crashed. Any help is appreciated.
I'm at a
loss on this.
TIA,
W
ability to
restart the application from the File menu. I don't know how to re-invoke the
sub main() in my .vb module -- in the sub main, I do the following:
Dim frmSignon As New frmSignon
frmSignon.ShowDialog()
Application.Run(New frmMain)
First, am I invoking my application properly (I call the frmSignon first,
and if that's
successful, I then run the main application screen) and second, how do I
re-invoke
the application from within the main screen? I tried:
Application.Exit
Dim frmSignon As New frmSignon
frmSignon.ShowDialog()
Application.Run(New frmMain)
which upset the program terribly and it crashed. Any help is appreciated.
I'm at a
loss on this.
TIA,
W