Install

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

by Installer on Apr.02, 2010, under Vbscript

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

Related posts

:, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...