Automagically answering another program's dialog

  • Thread starter Thread starter Joseph Sheppard
  • Start date Start date
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
 
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.
 
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.
 
If you are interested in Ascent Capture development and expertise
contact (e-mail address removed)
 
Back
Top