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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Msgbox title

Status
Not open for further replies.

NevG

Programmer
Oct 10, 2000
162
0
0
GB
Hi Dudes and dudettes
Can someone please tell me how to remove the VBScript: from the title of the msgbox

I have tried putting my own in but the title is just prefixed with this stupid bloody msg.

Thanks for any help

Nev G
 
Hey,

Have you tried this?:
Code:
MsgBox "My message", vbSystemModal, "My title"

Steve.
 
you cant change this.
this is microsoft security for ie5 or higher.
this is by design.you can only bypass it by using modal window or dhtml msgboxes.
 
You can do this

Dim WshShell, rvShowMessage

Set WshShell = CreateObject( "WScript.Shell" )
rvShowMessage = WshShell.PopUp( strMessage,0 , "YOUR MESSAGE HERE", strButtons )

' Clear objects
Set WshShell = Nothing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top