473,385 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Automagically answering another program's dialog

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
Apr 22 '06 #1
2 1061
Thanks!

-Joseph

"Spam Catcher" <sp**********@rogers.com> wrote in message
news:Xn**********************************@127.0.0. 1...
"Joseph Sheppard" <josephsheppard@"gee"mail.com> wrote in
news:xI******************************@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.

Apr 23 '06 #2
If you are interested in Ascent Capture development and expertise
contact sa***@issltd.com

May 18 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: King W.Wang | last post by:
Hi Java gurus, I've copied the following program from the book "Java by Examples". It compiles well with javac. But it does not run as expected. EXPECTED: It is expected that, when you input...
33
by: Nick Evans | last post by:
Hello there, I have been on and off learning to code (with python being the second language I have worked on after a bit of BASIC). What I really want to know is, if you are going to actually...
17
by: SK | last post by:
I am calling an exe thru' href, but when it executes, I get the message if I want to open the file(exe file). Is there any way I can suppress this from appearing and open the program? Thank...
5
by: Casper | last post by:
I'm trying to get my program to run in the system tray. I've looked at dozend of tutorials on the web and on newsgroups but I just dont get it! Has anyone got any links or example code that ...
1
by: VBTricks.de.vu Webmaster | last post by:
Hello there, I've encountered some strange behaviour. I display modal dialogs (using ShowDialog) called from my mainform. This is how the mainform is displayed out of the main sub of a module: ...
4
by: Opettaja | last post by:
I am trying to make a program that times how long it takes to do something in another program. Is there away to make my timer program listen for a dialog box to open on the other program and then...
0
by: Steve Ingram | last post by:
Found out what I'd done, and it wasn't py2exe causug the problem. I wasn't closing the main dialog properly, I was calling Close() instead of Destroy(), so the dialog stayed in memory, basically it...
9
by: Tyler | last post by:
Hello All: I am currently working on a project to create an FEM model for school. I was thinking about using wxPython to gather the 12 input variables from the user, then, after pressing the...
1
by: sewid | last post by:
Hi there! I've got a problem with no solution, I hope you might help me. I am writing a small tool with many buttons. Every button starts a thread and this thread starts something else, in the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.