Click to See Complete Forum and Search --> : ActiveX Out Of Process Components And Asynchronous Calls


April 16th, 1999, 12:41 AM
I have a problem while calling a method from ActiveX EXE that does data access. Then if do a click on the form, it pops up a dialogue with the following "An action cannot be completed because a component is (Project1 - Microsoft Visual Basic[run]) is not responding. Choose SwitchTo to activate the component and correct the problem". The method of the class of ActiveX EXE is an rpc that is in a server on UNIX box under DCE calling ORACLE API's that is connecting to DB2 and returning the results to the ActiveX, and has to be back to Client. Can any one give me a solution to get rid of this message and continue with other work ? on the same form or on other form that is part of MDI form (I mean to say if I implement the application as MDI). Please let me know any solution as early as possible.

email: sandalya@hotmail.com

Thanks
Surya

Lothar Haensler
April 16th, 1999, 02:29 AM
try setting the OLEServerBusyTimeout property.
according to the docs it "Returns or sets the number of milliseconds during which an automation request will continue to be retried, before the default Component Busy dialog box (or an alternate message) is displayed."