CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    ActiveX Out Of Process Components And Asynchronous Calls

    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: [email protected]

    Thanks
    Surya




  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: ActiveX Out Of Process Components And Asynchronous Calls

    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."


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured