Close a msgbox

  • Thread starter Thread starter John Wright
  • Start date Start date
J

John Wright

How can I close a msgbox programtically. I have a process that can run
24/7. If an operator is not at the station, I want to close the msgbox that
appears. How can I do this?

John
 
John said:
How can I close a msgbox programtically. I have a process that can run
24/7. If an operator is not at the station, I want to close the msgbox that
appears. How can I do this?

Is that msgbox launched from your application?
If so, create your own msgbox-style form and a function using it to show
any messages. Use that instead of Msgbox and you will have no problems
closing it.

If you mean msgbox that has nothing to do with your application, I'd
look at simulating mouse clicks or keystrokes, which is not very
professional and there are probably other ways do to this I'm unaware of.
 

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

Back
Top