vbscript to pop up message

A S
A S used Ask the Experts™
on
hello experts
I have a code for message box pop up, and it work great. but it pops of in middle of screen, how can i change it to pop up on top of screen with bigger font.
Set objArgs = Wscript.Arguments
messageText = objArgs(0)
MsgBox messagetext 

Open in new window


thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Bill PrewIT / Software Engineering Consultant
Top Expert 2016

Commented:
With the basic MsgBox function you can't, it doesn't allow the font to be changed when you display it, it uses the default Windows font for a message box.

If you want what you described you can either do your own pop up message box using IE, or convert your VBS script to an HTA script.

https://www.robvanderwoude.com/vbstech_ui_buttons.php


»bp
A S

Author

Commented:
Thanks Bill,

This script we are running in winPE. So no IE
Sam JacobsDirector of Technology Development, IPM

Commented:
Insert a Userform ... you can style it however you like.
Userform.jpg

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial