Closing a message box

R

Rpettis31

I have developed an application that is called from the shell command in an
access database. Once the application is run it writes to the DB and closes.
There is a message box that comes up from the access DB and i would like to
do a sendkeys command to the message box to close it. My app is in vb.net.
 
J

Jack Leach

IMO, SendKeys should be avoided at all costs.

What is the message box displaying? Perhaps you can instead use a custom
form with a timer to keep it open for a specific amount of time (within the
Access db).

If this is a generic message from Access most likely you can turn it off if
you don't want it displayed at all.

More info required...

--
Jack Leach
www.tristatemachine.com

"I haven't failed, I've found ten thousand ways that don't work."
-Thomas Edison (1847-1931)
 
R

Rpettis31

Not my DB it says click here when completed so I am assuming it performs
some action in the DB. My application is called from the shell that message
appears in the background and I would like to close it when my application is
done.
 
D

David H

I'm assuming that you don't have access to the source code or the developer
who designed the program? Commenting out the code that shows the message box
would be a *much*, *much* easier approach.
 

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