Computing.Net > Forums > Programming > VB .... Yes or No box

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

VB .... Yes or No box

Reply to Message Icon

Original Message
Name: Jim
Date: November 13, 2002 at 18:31:24 Pacific
Subject: VB .... Yes or No box
OS: XP
CPU/Ram: Intel P 4 - 256
Comment:

hi,,,
can any one please tell me how can bring a box up (like msg box or input box) on my form which asks the user if he wants to try again ... Yes or No.... and then perfrom the respective operation after gettin the user choice......

thanks!


Report Offensive Message For Removal


Response Number 1
Name: HiJinx
Date: November 13, 2002 at 18:38:51 Pacific
Reply: (edit)

If MsgBox("Click Yes or No", vbYesNo) = vbYes Then
MsgBox ("You clicked yes.")
Else
MsgBox ("You clicked no.")
End If


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software