.Net Equivalent to VB.App.OleServerBusy

Mike_R

Well-known member
Joined
Oct 20, 2003
Messages
316
Location
NYC
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
 
Last edited by a moderator:
Back
Top