|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
yes/no msg box
Stupid question
... haven't used visual basic in a long time and forget how to create a message box with yes, no, and cancel buttons on it, want a prompt when closing program asking to save or not thanks ![]() |
|
#2
|
|||
|
|||
|
msgbox "prompt", vbYesNoCancel, "WindowTitle"
If you want to capture which button was clicked, use it as a function if msgbox("prompt", vbYesNoCancel) = vbYes Then |
|
#3
|
|||
|
|||
|
Thank you, didn't install help file with my program :P
|
|
#4
|
|||
|
|||
|
You're welcome!
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > yes/no msg box |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|