COM MessageBox in need of Closing

M

Mike R.

G

Guest

It sounds like the COM app was written for a user, and the only way arround
it may be to simulate a user with SendKeys(). You will probably need a code
to run listening for a window to be shown with the name of the messagebox and
send an "{ENTER}" or similar. If this COM app is launched as a separate
process, then killing the process may be more likely to succeed. SendKeys
often runs into issues if there is a user interacting while your code is
interacting.
 

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