|
-
Aug 15th, 2000, 07:36 PM
#1
Thread Starter
Member
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!
-
Aug 15th, 2000, 08:32 PM
#2
Hyperactive Member
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???
-
Aug 16th, 2000, 08:02 AM
#3
Thread Starter
Member
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,
-
Aug 16th, 2000, 05:54 PM
#4
Hyperactive Member
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.
-
Aug 16th, 2000, 06:00 PM
#5
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|