Automagically answering another program's dialog

J

Joseph Sheppard

We have a pesky dialog box that appears on our Ascent Capture server 50
times a day, bottle-necking our release process.

While we wait for a corrected .dll to prevent this dialog, I would like to
write a program that automatically answers it (the dialog has one choice
only: VBOK).

I remember reading a couple of years ago that .Net (hopefully vb.net) could
do such a thing...If this is the case, I've been googling for the wrong
terms, for twenty minutes of searching has led me to one shareware program,
and no programming advice.

Please point me in the right direction....

TIA!

Joseph
 
G

Guest

We have a pesky dialog box that appears on our Ascent Capture server
50 times a day, bottle-necking our release process.

While we wait for a corrected .dll to prevent this dialog, I would
like to write a program that automatically answers it (the dialog has
one choice only: VBOK).

I remember reading a couple of years ago that .Net (hopefully vb.net)
could do such a thing...If this is the case, I've been googling for
the wrong terms, for twenty minutes of searching has led me to one
shareware program, and no programming advice.


Definately possible - but you'll need to hook into Windows APIs.

Take a look at SendMessageA & FindWindow functions.

Another possiblity is to use .NET's SendKeys function - this lets you send
keystrokes to the currently focused app.
 
J

Joseph Sheppard

Thanks!

-Joseph

Spam Catcher said:
Definately possible - but you'll need to hook into Windows APIs.

Take a look at SendMessageA & FindWindow functions.

Another possiblity is to use .NET's SendKeys function - this lets you send
keystrokes to the currently focused app.
 
D

dgershman

If you are interested in Ascent Capture development and expertise
contact (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top