|
-
Nov 28th, 1999, 01:43 AM
#1
Thread Starter
Frenzied Member
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
-
Nov 28th, 1999, 02:47 AM
#2
New Member
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.
-
Nov 28th, 1999, 03:33 AM
#3
Thread Starter
Frenzied Member
-
Nov 28th, 1999, 08:51 AM
#4
New Member
Just wanted check to see if that worked ok for you.
-
Nov 28th, 1999, 10:19 PM
#5
Thread Starter
Frenzied Member
Hi!
I have just lost my copy of vb5, so i don't if it works....DAMN!!!!
/ CyberCarsten
-
Nov 28th, 1999, 11:24 PM
#6
Junior Member
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
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
|