You are not logged in.

#1 29 Jul 2011 10:43

scott_humphris
Member
Registered: 03 Sep 2010
Posts: 7

Function Message Box

Im looking to get a message box similar to the yes/no function but it has an 'ON' button and an 'OFF' button.
 
can anyone help please?
Sorry i dont have much experience with message boxes.
 
Thanks
 
S

Offline

#2 01 Jul 2012 06:03

Dylany_1
Member
Registered: 01 Jul 2012
Posts: 9

Re: Function Message Box

I believe the script you have entered was invalid tongue
Lucky I can help you, a script I made about one year ago, was never posted.
What it does is, it helps you through creating a VBS script msgbox. Heres the download link, just uploaded now, hope you enjoy. Just open, input "1" press enter and follow the steps.
Download application name: VBS Maker by Dylan (iiNzTicTx)
Download size: 33KB
Download link: http://www.2shared.com/file/GARyIexi/VB … icTx_.html?
big_smile

Offline

#3 01 Jul 2012 23:22

Dylany_1
Member
Registered: 01 Jul 2012
Posts: 9

Re: Function Message Box

Or just insert this into notepad:

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

to add a notification icon here are the codes:
16 - circle red box with cross
32 - bubble with question mark
48 - warning icon
64 - bubble with !
Button codes:
0 - Ok button by itself
1 - Ok,cancel
2 - abort, retry, ignore
3 - Yes, no ,cancel
4 - Yes,no
5 - retry,cancel
the messagebox goes:

x=msgbox("[text]",[icon+buttion],"title")

for a messagebox with the bubble question mark and Yes/No buttons:

x=msgbox("mytext",36,"mytitle")

Note: You add the button code and the icon code together to one number.
big_smile

Last edited by Dylany_1 (01 Jul 2012 23:24)

Offline

Board footer

Powered by