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.
 
Back
Top