Every once in a while during my OLE, I get a server busy message with three buttons, switch to, retry, and cancel (greyed out).
I have read that using the App.OLEServerBusyTimeOut = 9999999 would increase the time to a point that this error would not occur, but when I tried it, I still go the error.
Anyone have a idea of how to suppress this error message?
Return Value =expression.WaitUntilExecuted (Command, Timeout)
Return Value: This methods immediately returns FALSE if the part program is not executing. It returns TRUE if the specified Command executes before Timeout seconds pass. It returns FALSE if the Command does not execute before Timeout seconds pass. If Timeout is a non-positive value, and the Command never executes, this function never returns a value.
expression: Required expression that evaluates to a PartProgram object.
Command: This is an expression that evaluates to a Command object. This is the command that is waited for.
Timeout: This is the number of seconds (a Long value) to wait for the command to finish execution. If you have a non-positive value, the method waits indefinitely.
This method waits until the specified Command object executes, or until Timeout seconds pass.
Return Value =expression.WaitUntilExecuted (Command, Timeout)
Return Value: This methods immediately returns FALSE if the part program is not executing. It returns TRUE if the specified Command executes before Timeout seconds pass. It returns FALSE if the Command does not execute before Timeout seconds pass. If Timeout is a non-positive value, and the Command never executes, this function never returns a value.
expression: Required expression that evaluates to a PartProgram object.
Command: This is an expression that evaluates to a Command object. This is the command that is waited for.
Timeout: This is the number of seconds (a Long value) to wait for the command to finish execution. If you have a non-positive value, the method waits indefinitely.
This method waits until the specified Command object executes, or until Timeout seconds pass.