Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I remove the text "VBScript:" from the Msgbox-title 1

Status
Not open for further replies.

jolind

Technical User
Nov 22, 2004
3
SE
How can I remove the defaulttext "VBScript:" from my MsgBox title? When I type:

MsgBox("Message",8,"Title")

I get the title "VBScript:Title" at the top. Why?

I use both javascript and vbscript on my page
 
Hello jolind,

documentation-msgbox said:
When the MsgBox function is used with Microsoft Internet Explorer, the title of any dialog presented always contains "VBScript:" to differentiate it from standard system dialogs.
The tone is innocent but it means business. You can't get rid of it except you make your own popup. It is a security feature.

regards - tsuji
 
you can change the title using

Wscript.Popup allows u to do this, cant remember which propertz though
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top