I'm having some problems with my
VB5.
Every time use the vbYesNo or vbOKonly
it doesn't make a Yes and No buttons, but
Retry and Abort!!!!!!!
Why??!!!!!!!!!!!!!!!!!!!!!!!
/ CyberCarsten
Printable View
I'm having some problems with my
VB5.
Every time use the vbYesNo or vbOKonly
it doesn't make a Yes and No buttons, but
Retry and Abort!!!!!!!
Why??!!!!!!!!!!!!!!!!!!!!!!!
/ CyberCarsten
I'm just learning Visual Basic but I believe the following might be helpful:
MsgBox "Message", vbOKOnly, "Name"
Message = "Whatever you want to say.",
vbOKOnly = the VBOKOnly button
Name = "Whatever you want to called this"
------------------
A. J.
Thank you!
I'll try it!
Just wanted check to see if that worked ok for you.
Hi!
I have just lost my copy of vb5, so i don't if it works....DAMN!!!!
/ CyberCarsten
There are 2 different versions of the Msgbox statement
Doesn't return a value:
MsgBox "Your Message",vbOKOnly, "Your Title"
Does return a value:
Dim RetCode As Integer
RetCode = MsgBox ("Your Message", vbYesNo, "Your Title")
Select Case RetCode
Case vbYes
'Case when user clicked yes
Case vbNo
'Case when user clicked no
End Select