Solved

vbscript window open

Posted on 2006-06-16
2
4,274 Views
Last Modified: 2008-04-14
I am creating a Sub in vbscript to open a window on the change in a drop down menu.  I have everything working except it wants to open the window as a new window.  I don't want multiple windows.  How do I prevent this.  Below is the code that I am using

open "InspectionDichotomyInput.asp?rec_id=" & <%=request.QueryString("rec_id")%> & "&cat_num=0&catid=" & Cstr(strCatArray)

I know there is a way to make the target _self, but I haven't found anything about this yet.
0
Comment
Question by:Dukster131
  • 2
2 Comments
 
LVL 33

Accepted Solution

by:
hongjun earned 250 total points
ID: 16921242
Hi Dukster131,

Try this

open "InspectionDichotomyInput.asp?rec_id=" & <%=request.QueryString("rec_id")%> & "&cat_num=0&catid=" & Cstr(strCatArray), "myWin"


Cheers!
hongjun
0
 
LVL 33

Expert Comment

by:hongjun
ID: 16921247
Idea is to give a name to the window at the 2nd parameter.
For me, I named it myWin.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Form submit issue 11 56
archiving old posts 9 26
drop down navigation on mobile devices adds spaces 3 46
WIX Redirect 1 7
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This video teaches users how to migrate an existing Wordpress website to a new domain.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now