Help with icons in VBS Dialog box

Joined
Aug 16, 2021
Messages
7
Reaction score
0
Hello, i am using a vbs script to create dialog box notifications in windows ten, is there any way i can customize the Icon, circled in the picture? i know i can make it a Warning, Error, Information etc, but can i use a custom .ico or other image file?
Capture.JPG


** Originally posted in Customization, moved to correct forum section **
 
Joined
Sep 26, 2017
Messages
3,610
Reaction score
624
Just a note, it didn't move, still shows in the other section, don't know if the slightly different word in the Subject affects that or not.
 
Joined
Feb 22, 2014
Messages
1,652
Reaction score
343
The Buttons parameter can take any of the following values −
  • 0 vbOKOnly Displays OK button only.
  • 1 vbOKCancel Displays OK and Cancel buttons.
  • 2 vbAbortRetryIgnore Displays Abort, Retry, and Ignore buttons.
  • 3 vbYesNoCancel Displays Yes, No, and Cancel buttons.
  • 4 vbYesNo Displays Yes and No buttons.
  • 5 vbRetryCancel Displays Retry and Cancel buttons.
  • 16 vbCritical Displays Critical Message icon.
  • 32 vbQuestion Displays Warning Query icon.
  • 48 vbExclamation Displays Warning Message icon.
  • 64 vbInformation Displays Information Message icon.
  • 0 vbDefaultButton1 First button is default.
  • 256 vbDefaultButton2 Second button is default.
  • 512 vbDefaultButton3 Third button is default.
  • 768 vbDefaultButton4 Fourth button is default.
  • 0 vbApplicationModal Application modal. The current application will not work until the user responds to the message box.
  • 4096 vbSystemModal System modal. All applications will not work until the user responds to the message box.
Looks to only allow default icons, based on the button parameter selected from the short list above.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top