|
-
Jun 28th, 2000, 09:28 AM
#1
Thread Starter
Hyperactive Member
Ok, I have figured out what my problem is... IN the program, they press the X in the corner...so the unload statement knows to get them before the program shuts down, BUT it is on its way to shut down already, so simply putting the "end if" statement wont restart the program...hmm.... would I do something like...
Private Sub Form_Unload(Cancel As Integer)
Dim retval As Integer
If Text3.Text = "ok" Then
retval = MsgBox("The setup has not been finished! Exiting might cause problems when using this program. We recommend that you do not exit before finishing this setup. Do you wish to resume the setup?", vbYesNo, "Exit Setup")
If retval = vbNo Then
End
Else
Shell (App.Path & "\myprogram.exe")
End If
End Sub
I know that is a lame way of solving it, but it might work...
although I really wanted it to resume where they left off...on that exact frame that I had visible...
Help!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|