Pasvorto
Sep 4th, 2007, 09:35 AM
This should be simple. I can create an situation where the user has to input data. No problem. However, I am having a problem figuring out how to do s imple message box with a yes/no button configuration. I can't find an example in any of my manuals.
VB6 code:
Dim PRINTREPLY As VbMsgBoxResult
PRINTREPLY = MsgBox("Print to screen?", vbYesNo)
If PRINTREPLY = vbNo Then
glbPrinterDestination = 1
Else
glbPrinterDestination = 0
End If
That is the kind of thing I am looking to do.
VB6 code:
Dim PRINTREPLY As VbMsgBoxResult
PRINTREPLY = MsgBox("Print to screen?", vbYesNo)
If PRINTREPLY = vbNo Then
glbPrinterDestination = 1
Else
glbPrinterDestination = 0
End If
That is the kind of thing I am looking to do.