|
-
Aug 8th, 2000, 05:15 AM
#1
Thread Starter
Evil Genius
Coming from VB & trying to learn VBS, can anyone tell me about the title of the Alert function?
With VB, I would normally do:
MSGBOX "SOME MESSAGE HERE",,"TITLE OF MSGBOX HERE"
With VBS Alert:
ALERT "SOME MESSAGE HERE"
But I cannot seem to find how to set the title. Any help very much appriciated, thank you!
Alex Read
-
Aug 8th, 2000, 05:29 AM
#2
Frenzied Member
I thought VBScript supported the MsgBox (client-side), so why not use that?
Harry.
"From one thing, know ten thousand things."
-
Aug 8th, 2000, 05:44 AM
#3
Thread Starter
Evil Genius
Another question...
Thank you Harry for responding quickly. I didn't realise the messagebox was supported.
I have just tried this, and rather than the title showing as "TITLE OF MSGBOX HERE", as the original post, IE comes up with "VBScript: TITLE OF MSGBOX HERE". Is there any way to get rid of the VBScript : part?
Thank you.
-
Aug 8th, 2000, 05:47 AM
#4
Fanatic Member
Hi Alex
This has been posted many times and as of yet I and I think no one else has come up with a solution for that problem. If any one has found out, do tell because half of this forum want's to know
Sorry I couldn't be more helpful
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Aug 8th, 2000, 05:49 AM
#5
Thread Starter
Evil Genius
Thank you Ian
Sorry, I did not realise as I am new to this forum (normally use the VB general Q's on this site). I have tried other newsgroups too, so if I find ouut I will post back!
Thank you everyone,
Alex Read
-
Aug 9th, 2000, 06:10 AM
#6
You could make a simple ActiveX control (in VB) that displays a proper message box. Then invoke it from your asp.
I'm assuming you're making a .vbs file to run on your own pc here...
-
Aug 9th, 2000, 06:14 AM
#7
Thread Starter
Evil Genius
Thank you everyone, I have been told everywhere that this is definitly not possible.
Thanks for the tip with the active x Matthew, unfortnately I only have learning edition, but I will look into this one.
-
Aug 9th, 2000, 11:43 AM
#8
Hyperactive Member
The reason that you can't change the title is because malicious scripters might try to confuse the user into thinking the message box is from Windows and try and get them to do something stupid.
"People who think they know everything are a great annoyance to those of us who do."
-
Aug 10th, 2000, 02:43 AM
#9
Thread Starter
Evil Genius
It all makes sense now ...
Can't see the point in writing viruses myself, but thinking about it, your answer makes sense no-one.
Bl!#@y annoying, but I guess it's for a good reason!
-
Aug 10th, 2000, 04:17 AM
#10
If you want to try the ActiveX idea, then find an old cover CD and install VB5 CCE. It's free and will compile ActiveX controls for you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|