Click to See Complete Forum and Search --> : how do write msgbox in vbscript


fyanym
04-07-2005, 10:00 PM
i want to write a confirm msgbox in vbscript...
the output i want is like at java script:
confirm ("do u want to continue?")

buntine
04-07-2005, 10:51 PM
You need to pass the vbYesNo constant. This constant simply represents an integer, but makes your code more readible.

MsgBox("Do you want to continue?", vbYesNo)

Regards.