Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

VBScript Constant: vbNo

DIAdem 2011 Help

Edition Date: July 2011

Part Number: 370859J-01

»View Product Info

Provides a constant for the No button for the MsgBox method.

Object.vbNo
Object VBS
The constant belongs to the VBS functionality. You do not need to specify this object.
Object.vbNoVariant with read access
vbNo has the value 7.

The following example displays the pressed button:

Select Case MsgBox("Hello World", vbYesNoCancel + vbMsgBoxRtlReading  )
Case vbOK
  Call MsgBox("You clicked ""OK""")
Case vbCancel
  Call MsgBox("You clicked ""Cancel""")
Case vbAbort
  Call MsgBox("You clicked ""Abort""")
Case vbRetry
  Call MsgBox("You clicked ""Retry""")
Case vbIgnore
  Call MsgBox("You clicked ""Ignore""")
Case vbYes
  Call MsgBox("You clicked ""Yes""")
Case vbNo
  Call MsgBox("You clicked ""No""")
End Select


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit