?
Solved

vbscript window open

Posted on 2006-06-16
2
Medium Priority
?
4,283 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 33

Accepted Solution

by:
hongjun earned 750 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
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:
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

777 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