|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Automagically answering another program's dialogWe 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
Show quote
Hide quote
"Joseph Sheppard" <josephsheppard@"gee"mail.com> wrote in Definately possible - but you'll need to hook into Windows APIs.news:xIGdnQoG0IbZytfZnZ2dnUVZ_tydnZ2d@pgtc.com: > 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. 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 Show quoteHide quote "Spam Catcher" <spamhoneypot@rogers.com> wrote in message news:Xns97ADA8B863D66usenethoneypotrogers@127.0.0.1... > "Joseph Sheppard" <josephsheppard@"gee"mail.com> wrote in > news:xIGdnQoG0IbZytfZnZ2dnUVZ_tydnZ2d@pgtc.com: > > > 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. > If you are interested in Ascent Capture development and expertise
contact sa***@issltd.com
Web Browser in Windows App
RS232 - Recive = Send???? Debug.Wrile does not appear on the Output Window Unused variables that really are?!? Trying to execute something stored in variable GetCurrentProcess.Id vs GetCurrentProcessId API Can't delete an image that is in a picture box Form Visibility Issue VB.NET 2003 Paste logo on image Close a msgbox |
|||||||||||||||||||||||