How to make a vbs error message with yes/no buttons using notepad.

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
11,125
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 15, 2009

Watch the first video to find out how to make a popup message -
http://www.youtube.com/watch?v=LGpQxOi5pWk -

Script:

x=msgbox ("click yes or no", 4,"A choice")
if x=6 then
msgbox "You clicked yes", 0,"Result"
elseif x=7 then
msgbox "You clicked no", 0,"Result"
end if

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (PuregamersUK)

  • it does not work

  • @7249xxl Yeah it does, try copying the code from the description.

  • Can you change the "Yes" and "No" to say something else?

  • @Madskillz434

    It depends what VBS code you use:

    x=msgbox ("click yes or no", 4,"A choice")

    Replace 4 with another number, see a video or a website listing VBS codes for ore information.

  • Can you make one where it continuously asks you Yes or No?

  • @WE5L1E4LL1SON Use do and Loop

    I think this is what you mean:

    DO

    x=msgbox ("click yes or no", 4,"A choice")

    LOOP

see all

All Comments (68)

Sign In or Sign Up now to post a comment!
  • WRONG THE PROPER COMMAND IS ->

    Dim x=msgbox ("click yes or no", 4,"A choice")

    if x=6 then

    msgbox "You clicked yes", 0,"Result"

    elseif x=7 then

    msgbox "You clicked no", 0,"Result"

    end if

  • x=msgbox ("click yes or no", 4,"A choice")

    if x=6 then

    msgbox "cool?", 0,"Result"

    elseif x=7 then

    msgbox "You clicked no", 0,"Result"

    end if

    x=msgbox ("holi shit!", 4,"A choice")

  • i wan t a computer like this

  • @Zetsuke4 piss off fagot go play call of duty

  • @7249xxl Shut up I only told you it worked, and I am eleven years old. Noob, you've better stop the argument before you rage me. Of course I am not what you think I am. I am a stupid noob. Yup, I might not be stupid, but I am silly. I can get serious if I want. If you don't stop, I will call quack monster to bite your head off!

  • @Zetsuke4 young i dont give a dam and im probably junger than you and calling some one a noob because he made a mestake or does not understand some thing makes you a fool for thinking your the best in it

  • @7249xxl It does work and you're still a noob and I am not an internet hero and you know I am still young.

  • @Zetsuke4 sorry internet hero did not want to offend you 

  • What is a good website for VB Script codes? I had mastered command prompt, batch programs, Java Script, Scratch, and Flash codes.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more