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

open a new browser window

Status
Not open for further replies.

Horrid

Programmer
May 20, 1999
373
how do I open a new browser window via VBscript? I tried calling a javascript function but the code doesn't execute. I know its executing the function but the page just never arrives, if I call the function from html it opens, use vbscript and nothing? Anyone have any idea why? or just how to open the window from VBScript.

Thanks in advance
 
Ok, there are a couple things that could be effecting you, here.

1) Are you using VBS thru ASP? Or on the client side?
If client-side, what browser do you have? If you don't have IE, I don't think VBS will work.

2) How are you trying to open the window? You can do it in HTML, ya know. Try this...

<a href=&quot; title=&quot;My Link :)...ya know I gotta advertise!&quot; target=&quot;_blank&quot;>c4</a>

(if there's a semicolon in there, take it out; I noticed one put in by the forum)

That should work. Let me know if it doesn't. Or you need additional help.

Cid
ciddivine@yahoo.com
 
Its a client side script that receives a command from shockwave (that bit is working) and then needs to open a web page to the url passed to it from shockwave.

I just don't know what (if there is one) the command is to open a browser window from VBScript.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top