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

Thread: Run-time error

  1. #1
    Join Date
    Apr 1999
    Posts
    1

    Run-time error



    In the Module, I have

    Dim X As CAuto

    Set X = New CAuto and uses X to do something.


    After that I call a form. In this form, I have

    Dim WithEvents X As CAuto

    Set X = New CAuto


    CAuto is a DCOM object

    If CAuto is in the same PC with client, there is no problem happened.

    If CAuto is in the different PC with client. a "Run-time error '-2147220990 (80040202)': Automation error". After pressing the Debug button in the warning dialog, the debug arrow stop at "Set X = New CAuto" in the form. At that time X = Nothing; CAuto =

    Could you please help me.

    Thank you very much.

    Best regards.

    Hau Nguyen.

  2. #2
    Guest

    Re: Run-time error

    Even I Faced the Same Problem some time back and the Inference is Events Are Not Supported in Case Of Remote Automation.


    VMK

    [email protected]



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