moonzappa
asked on
how do I close an alert dialog programatically using vb.net?
I have some servers (NT4) that are running some applications that throw an
alertbox error every now and then. Now, once the alertbox 'OK' is clicked,
the services restart and continue on as normal. But UNTIL the alertbox is
clicked, the service pauses, waiting. For days on end, if someone doesn't
cotton on that one of the servers is down!
I try to write a window service to constantly find these alart dialog and then automatically hit the button on that dialog to destroy it. However,it doesn't really work very well.
Thanks,
Bashangy
alertbox error every now and then. Now, once the alertbox 'OK' is clicked,
the services restart and continue on as normal. But UNTIL the alertbox is
clicked, the service pauses, waiting. For days on end, if someone doesn't
cotton on that one of the servers is down!
I try to write a window service to constantly find these alart dialog and then automatically hit the button on that dialog to destroy it. However,it doesn't really work very well.
Thanks,
Bashangy
ASKER
For example, any office application like Word or Excel that when opened prompts the user to press a button before the application fully opens and allows the user to manipulate the data.
I.E. click Word icon on desktop and when word opens an alertbox pops us asking the user to either press "yes" or "no" or "OK" depending on the specific thing the alertbox is trying to alert the user of. It could be that there are links that need to be updated in order to view the doc correctly or it could be a password protected document that can be opened as "Read Only". The service needs to be able to press the button enabling the application to open how the user who created the document intended, or however we would prefer it to be opened.
The goal is that the applications are opened using VB and documents are printed automatically and that this service prevents the alertboxes from stopping the printing of the documents, whether it be an email, .doc, .xls or whatever.
Thanks.
I.E. click Word icon on desktop and when word opens an alertbox pops us asking the user to either press "yes" or "no" or "OK" depending on the specific thing the alertbox is trying to alert the user of. It could be that there are links that need to be updated in order to view the doc correctly or it could be a password protected document that can be opened as "Read Only". The service needs to be able to press the button enabling the application to open how the user who created the document intended, or however we would prefer it to be opened.
The goal is that the applications are opened using VB and documents are printed automatically and that this service prevents the alertboxes from stopping the printing of the documents, whether it be an email, .doc, .xls or whatever.
Thanks.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Are these error messages (alerts) derived by reading emails with a forged ReceivedTime, using VB on protected Outlook PST-Files as you described in your question https://www.experts-exchange.com/questions/21267544/We-were-given-a-pst-and-need-to-print-out-the-email-but-the-autodate-inserted-at-the-bottom-keeps-updating-to-today's-date.html?
Best regards,
Raisor