Vbscript message box part 2 ising buttons to do things advanced but easy to use

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,122
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 11, 2008

Part 2 by miutubevids
for knowign what numbers to use with the buttons
1 = OK 2 = Cancel 3 = Abort 4 = Retry 5 = Ignore 6 = Yes 7 = No
Code:----------------------------------------------------------------
Dim box, yes, no

box = MsgBox("press a button and i will tell you what it is",4,"miutubevids")

If box =6 Then
yes = MsgBox("you pressed yes because in the script it ses 6 and if you look in the description it ses 6 = yes",48,"miutubevids")
End if

If box =7 Then
no = msgbox("you pressed no because in the script it ses 7 and if you look in the description it ses 7 = no",48,"miutubevids")

End If
_______________________________________________________

number between the commas from last tutorial
0 ok button
1 ok and a cancel button
2 abort, retry, and ignore buttons
3 yes, no, and cancel buttons
4 yes and no buttons
5 retry and cancel buttons
6-15 ok button
16 an icon of a ERROR sign, a circle with a cross on it and a ok button
32 an icon of a QUESTION mark sign "?"
with a ok button
48 an icon of a WARNING sign, a triangle with a "!" on it and a ok button
64 is a information sighn
_________________________
By miutubevids

  • likes, 2 dislikes

NOTICE

This video contains an audio track that has not been authorized by WMG. The audio has been disabled. More about copyright

Link to this comment:

Share to:

Uploader Comments (miutubevids)

  • can you help me please

    how to make vbs button that open website

  • @adminafghanzeba

    Subscribe to this account

    youtube .com/muppe7

    PM me and i will answer :)

  • realy good number TuT

    P.S VB scripts rule!!!!!!!

  • @URreadingmyaccname

    Please subscribe to

    youtube .com/muppe7

  • where do i open it? in my documents, because its not there?

  • @s4g3b100d

    Save it whereever

    Please subscribe to

    youtube .com/muppe7

see all

All Comments (59)

Sign In or Sign Up now to post a comment!
  • is there a way to make it copy or cpoy to clip bord?

  • @einars13 smome glitch msgbox"whatever" ,16, "bla bla" needs to be in a seperate line

  • you can use the script in video or a shorter one

    x=msgbox("main text" ,4, "title")

    if x=6 then msgbox"whatever" ,16, "bla bla"

    end if

    if x=7  msgbox"whatever" ,16, "bla bla"

    end if

    shorter = better

  • #NOTICE

  • this is rate gd :L!!!!

  • didnt woRK. =(

  • cool man

    

  • @miutubevids I hope you don't "scam" people.

  • Just a lil info. When I did my custom one, Abort was 3, retry was 4 and i didn't do anything for ignore but I'm gathering its 5...just thought I'd letchya know. :P

  • Dim box, yes, no box = MsgBox("I found a Virus, Do you want me to delete it?",4,"Virus found") If box =6 Then yes = MsgBox("We will then",48,"Virus found") MsgBox"We have now deleted the file",64,"Have a good day" End if If box =7 Then no = msgbox("Are you sure?",4,"Virus found") End If If box =7 Then
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