code for cancel,yes,no,....

how to code doing for the cancle,yes,no....

Page 1 of 1

2 Replies - 2215 Views - Last Post: 16 February 2010 - 07:15 AM Rate Topic: -----

#1 akash33  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 27-January 10

code for cancel,yes,no,....

Posted 16 February 2010 - 01:31 AM

how to code for cancle , yes , no ,retry , abourt,....and so on
in visual basic
please tell me about this problem imediatly.
thanks for you
Is This A Good Question/Topic? 0
  • +

Replies To: code for cancel,yes,no,....

#2 raziel_  Icon User is offline

  • Like a lollipop
  • member icon

Reputation: 464
  • View blog
  • Posts: 4,255
  • Joined: 25-March 09

Re: code for cancel,yes,no,....

Posted 16 February 2010 - 01:50 AM

check the tutorial we have here on DIC for message boxes
http://www.dreaminco...topic120289.htm

good luck
Was This Post Helpful? 0
  • +
  • -

#3 guyfromri  Icon User is offline

  • D.I.C Addict

Reputation: 46
  • View blog
  • Posts: 817
  • Joined: 16-September 09

Re: code for cancel,yes,no,....

Posted 16 February 2010 - 07:15 AM

View Postakash33, on 16 February 2010 - 12:31 AM, said:

how to code for cancle , yes , no ,retry , abourt,....and so on
in visual basic
please tell me about this problem imediatly.
thanks for you


try this(and I don't know what platform / purpose your going for here)


dim sbox as string

sbox=msgbox ("Hey", vbyesnocancel,"Hi")

if sbox=vbyes then...

if sbox=vbno then...

if sbox=vbcancel then...


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1