Link to home
Start Free TrialLog in
Avatar of Sirocco
Sirocco

asked on

how to create VBScript message box without the "VBSscript" name?

1. How to create VBScript message box without the additional name "VBSscript" which appears before message box title?(to make same as VBA message box, which have no additional name before message box title).

for example, that message box show this "VBScript:" name before Title:
<HTML>
<BODY>

<SCRIPT LANGUAGE="VBSCRIPT">
<!--
Dim Answer
Sub Window_OnLoad()
  Answer = MsgBox ("Message text", 64, "Title")
End Sub
//-->
</SCRIPT>

</BODY>
</HTML>

2.How to separate long text (Line break) in message box that the message looked more attractively?
Does it possible also add paragraphs?

Thanks
SOLUTION
Avatar of DarkoLord
DarkoLord
Flag of Slovenia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of JR2003
JR2003

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sirocco
Sirocco

ASKER

It seems, this variant looks a  little more correct:

Msgbox ("Message text" + (Chr(13) & Chr(10)) +"and more text", 64, "Title")

Sirocco