View Full Version : VBScript Alert

02-14-2003, 11:00 PM
Dear all
i using msgbox for this alert

MsgBox "please enter your name", vbRetryCancel, "Alert...!"

how do i get rib of a word VBscript when alert popup?

Roy Sinclair
02-14-2003, 11:22 PM
It's not removable.

02-15-2003, 01:31 AM
Roy is 100% correct...

Also, I would completely avoid using VBScript client-side, because it won't work with Netscape, Opera, Mozilla, etc...

Only IE supports VBScript client-side.

However you'll notice if you run that as a .vbs file on your local machine, it doesn't give you the "VBScript" title or whatnot.

I only use VBScript in conjunction with ASP, server-side, or for parsing text files really easily on my LAN (LOCAL Area Network) using FileSystemObject. For that is IS really handy...

Now that I'm learning .NET, I don't even use VB.NET with that, because the syntax, to be totally honest, really stinks - and it also still has some limitations, although it is (from what I hear about VB OOP) light-years better than the previous implementations.

I much prefer the C++/Java type syntax of C# - it's also very similar to JavaScript, for obvious reasons.

02-18-2003, 03:42 PM
Thanks for all your comments...:thumbsup: