Results 1 to 5 of 5

Thread: Execution error

  1. #1

    Thread Starter
    Member
    Join Date
    May 2000
    Location
    NY
    Posts
    47

    Angry

    Hello!

    I'm just wondering if somebody already encountered this kind of error during execution of their application.

    Here's the exact error message:
    Error-2147417848 Automation error
    The object invoked has disconnected from its clients.

    I really don't know what's wrong with this kind of error.

    I hope somebody can help me.

    Thanks a lot!
    Rowena

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    461
    I've seen this kind of error before... It usually happens as a result of the following :

    1. You create an OLE object like a MS Word object
    2. This runs word secretly in the background
    3. Someone closes or terminates the MS Word application
    4. Your object no longer has anything to talk to
    5. So it reports an error that its "client" is disconnected

    I would assume that you are using CreateObject or GetObject or that you are referencing something like the Word Library or Excel Library and doing a "Dim oWord as Word.Document" or something like that.

    Am I close???

  3. #3

    Thread Starter
    Member
    Join Date
    May 2000
    Location
    NY
    Posts
    47
    Hi Gen-X.

    Thanks for replying. I am really using MS Word in my program. However, in this case, I am just opening my application and this error already occurs. I am not yet opening MS Word in this portion. I am just activating the Form.

    Also, if I am going to login using my username, the problem did not occur. Only if the other users are logging in, that's the only time this error occurs.

    Thanks a lot for your help. I hope I can solve this today for my deadline.

    Regards,
    Rowena

  4. #4
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    461
    If I were you I would be stepping through my program to see exactly which line of code the error occurs on and post it here.

    Chances are as part of an initialization phase it is accessing the word object... or your users don't have the same version of MS Word installed and therefor don't have the word objects in order to connect.


  5. #5
    Lively Member
    Join Date
    Jul 2000
    Posts
    94
    Actually I had this error once using a custom made activeX control. I closed all programs rebooted and never saw that error again.

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