Does anyone know what is the .Net command to test for the Automation Server being "Busy"?
In short, Im looking for what in VB 6.0 would be VB.App.OleServerBusyRaiseError and VB.App.OleServerBusyTimeOut.
Its used in Automation to force a run-time error if the User currently has a DialogBox (or the like) open that prevents ones code from running. Using OleServerBusyRaiseError, ones Automation code can know that the Server is occupied and choose to do something else instead of just "hang" waiting...
Any thoughts on how to do this in .Net? Thanks in advance!
,
Mike
In short, Im looking for what in VB 6.0 would be VB.App.OleServerBusyRaiseError and VB.App.OleServerBusyTimeOut.
Its used in Automation to force a run-time error if the User currently has a DialogBox (or the like) open that prevents ones code from running. Using OleServerBusyRaiseError, ones Automation code can know that the Server is occupied and choose to do something else instead of just "hang" waiting...
Any thoughts on how to do this in .Net? Thanks in advance!
,
Mike
Last edited by a moderator: