Pioneermfg
asked on
insert image into a message box
i have a script file that runs when the user logs in first thing in the morning. is it possible to add an image to this script file? If so, how?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
For now just check these values....
Here is the Number for the buttons
0 "Ok" button
1 "Ok" AND "Cancel" buttons
2 "Abort", 'Retry", AND "Ignore" buttons
3 "Yes", 'No", AND "Cancel" buttons
4 "Yes" AND "No" button
5 "Retry" AND "Cancel" button
If you want to set the default button of the msgbox...
0 The first button from the left is the default button
256 The second button from the left is the default button
512 The third button from the left is the default button
Now the images....
16 Big X in red circle
32 Question Mark
48 exclamation mark
64 Information
0 Blank
Now.. how to use these settings? Simple...
msgbox "Hello", ##, "Hello msgbox Title"
where the ## you put the number you want according to chart. But what if you want Yes and No button, with exclamation mark for icon? You ADD the 2 numbers.
Yes and No button = 4
Exclamation Mark = 48
Total = 52
so msgbox "Hello", 52, "Hello msgbox title"
msgbox.JPG