Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

insert image into a message box

Posted on 2008-09-30
2
Medium Priority
?
3,039 Views
Last Modified: 2011-10-19
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?
0
Comment
Question by:Pioneermfg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 5

Expert Comment

by:lodar123
ID: 22608385
You have som options with a msgbox in vbscript. You can choose the buttons and the msgbox image (not custom but preset, like the big X or the exclamation or question mark etc...)
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
0
 
LVL 5

Accepted Solution

by:
lodar123 earned 2000 total points
ID: 22608405
You cant add a custom made image for your msgbox.  If you would do it in VB6 for example, you could simply create a form that looks like a msgbox beside that you are very limited.
Hope this is what you wanted
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently I finished a vbscript that I thought I'd share.  It uses a text file with a list of server names to loop through and get various status reports, then writes them all into an Excel file.  Originally it was put together for our Altiris server…
In this article we want to have a look at the directory attributes which are used by Microsoft to store the so called Security Identifiers (SID). These SIDs plays an important role in delegating and granting permissions and in authentication of trus…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

596 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question