|
-
Jun 28th, 2000, 09:05 AM
#1
_______
...your code...
Private Sub Form_Unload(Cancel As Integer)
Dim retval As Integer
Dim msg As String
msg = "The setup has not been finished!" & vbCrLf
msg = msg & "Exiting might cause problems when using this program." & vbCrLf
msg = msg & "We recommend that you do not exit before finishing this setup."
msg = msg & "Do you still wish to exit setup?"
If Text3 = "OK" Then
retval = MsgBox(msg, vbYesNo, "Exit Setup")
Else 'if text3 doesn't equal "ok"
Exit Sub 'Exit the program
End If
If retval = vbNo Then
End
Else
MsgBox "ok..code me so I can do whatever!"
End If
End Sub
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
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
|