Advertisement

05.28.2008 at 11:54AM PDT, ID: 23439180
[x]
Attachment Details

Detect/Switch to Window and close it or click button

Asked by BrightRaven in .Net Editors & IDEs, Microsoft Windows Operating Systems, Microsoft Operating Systems

Tags: ,

An application is being spawned by a short VBScript routine. This routine stops with a status dialog window. It has a Close button.
I want to be able to close this window either by closing the window or clicking the Close button. Even an agressive method may work. ie. kill the window. I can not kill the process obviously!

Please note that this window is not a browser window. Its a native Windows Server 2003/XP window. I feel I could run a small routine in the background that would check for the dialog and as soon as it appears close it. I am concerned that I would not be able to spawn the application and attempt to interact with it straight after!

The solution would ideally be in VBScript then ASP.NET (VB) and then possibly others if thats the only solution available.
Start Free Trial
[+][-]05.28.2008 at 07:43PM PDT, ID: 21665956

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.29.2008 at 01:03AM PDT, ID: 21667154

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.01.2008 at 09:28AM PDT, ID: 21687561

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.02.2008 at 05:12AM PDT, ID: 21691247

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .Net Editors & IDEs, Microsoft Windows Operating Systems, Microsoft Operating Systems
Tags: Vbscript or other, IE6/7
Sign Up Now!
Solution Provided By: BrightRaven
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628