Simply open a Notepad then simply type a code you want.
Code:
x=msgbox("Your Text Here" ,Buttons, "Your Title Here")
Note : number lang yung tina-TYPE jan .
Example : x=msgbox("Virus has detected on your computer" ,0, "Error")
Other Example : x=msgbox("Virus has detected on your computer" ,0+16, "Error")
Buttons:
0 =OK button only
1 =OK and Cancel buttons
2 =Abort, Retry, and Ignore buttons
3 =Yes, No, and Cancel buttons
4 =Yes and No buttons
5 =Retry and Cancel buttons
Icons:
16 =Critical Message icon
32 =Warning Query icon
48 = Warning Message icon
64 =Information Message icon
0 = First button is default
256 =Second button is default
512 =Third button is default
768 =Fourth button is default
0 =Application modal (the current application will not work until the user responds to the message box)
4096 =System modal (all applications wont work until the user responds to the message box)
Note:
Make sure when you add another messege box, you press enter twice, so there is one whole blank line in between them.
--------------------------------------------------------------------------------------------------------------------------------------
You can type as much as you want
~~> After you finish your work, Save it with the file extension (.vbs)
~~> Open the vbs file you have save to check if its working.
~~> Now, Right Click the vbs file then click "Create Shortcut".
~~> Right Click the Shortcut created then click "Properties".
~~> On the Properties window, Click "Change icon"
~~> Choose the icon you want (like my computer icon, Google Chrome icon) , Then Click Apply and OK
~~> Now Run again to Check.
--------------------------------------------------------------------------------------------------------------------------------------
My Sample File : [You must be registered and logged in to see this link.]
Video Tutorial and Credits : [You must be registered and logged in to see this link.]
Code:
x=msgbox("Your Text Here" ,Buttons, "Your Title Here")
Note : number lang yung tina-TYPE jan .
Example : x=msgbox("Virus has detected on your computer" ,0, "Error")
Other Example : x=msgbox("Virus has detected on your computer" ,0+16, "Error")
Buttons:
0 =OK button only
1 =OK and Cancel buttons
2 =Abort, Retry, and Ignore buttons
3 =Yes, No, and Cancel buttons
4 =Yes and No buttons
5 =Retry and Cancel buttons
Icons:
16 =Critical Message icon
32 =Warning Query icon
48 = Warning Message icon
64 =Information Message icon
0 = First button is default
256 =Second button is default
512 =Third button is default
768 =Fourth button is default
0 =Application modal (the current application will not work until the user responds to the message box)
4096 =System modal (all applications wont work until the user responds to the message box)
Note:
Make sure when you add another messege box, you press enter twice, so there is one whole blank line in between them.
--------------------------------------------------------------------------------------------------------------------------------------
You can type as much as you want
~~> After you finish your work, Save it with the file extension (.vbs)
~~> Open the vbs file you have save to check if its working.
~~> Now, Right Click the vbs file then click "Create Shortcut".
~~> Right Click the Shortcut created then click "Properties".
~~> On the Properties window, Click "Change icon"
~~> Choose the icon you want (like my computer icon, Google Chrome icon) , Then Click Apply and OK
~~> Now Run again to Check.
--------------------------------------------------------------------------------------------------------------------------------------
My Sample File : [You must be registered and logged in to see this link.]
Video Tutorial and Credits : [You must be registered and logged in to see this link.]