

InterviewSolution
Saved Bookmarks
1. |
Solve : VB code? |
Answer» Say I have a message box with two options: YES or NO. This is for use in VB6, but I was also wondering if the same codes could be used in Notepad Used how and for what purpose? For the message box: DIM Result as VBMsgBoxResult Result = Msgbox("Original","Your original Messagebox",vbYesNo) If Result = vbYes then 'Yes was pressed. Else 'No was pressed end if Last time I checked notepad was a text editor, so I'll assume you MEAN batch files. although technically you could be working with VBScript or god knows what, making this question a bit broad in scope. If it was Batch, then you'll need a stub program of some kind so SHOW the message, I don't know of a command to do so. |
|