Closing a message box

  • Thread starter Thread starter Rpettis31
  • Start date Start date
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.
 
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)
 
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.
 
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.
 
Back
Top