Solved

vbscript window open

Posted on 2006-06-16
2
4,279 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 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

717 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