|
-
Apr 10th, 2001, 10:37 AM
#1
Hi,
ever so often I receive the following error in my application:
-2147417848 Automation Error. The object invoked has disconnected from its client
The error is happend randomly so I have been unable to identify what is happening. Does anyone know what this error means and how I can work around it.
Many thanks,
Leo
-
Apr 10th, 2001, 03:29 PM
#2
Fanatic Member
If you're doing what i'm doing (writing an ActiveX EXE and DLL at the same time with two instances of vb) you'll need to unreference the activex exe from dll each time you change the exe.
When you start the exe, then you can refence it from the dll (until you change the exe again.)
If this is not what your doing then, i have no idea how to help you here.
-
Apr 11th, 2001, 03:48 AM
#3
Many thanks for your reply.
To clarify, The application I have written is an OCX which is placed on an ActiveX exe. The OCX references 2 DLLs. None of my components reference the AxtiveX exe. All access to the DLL are initiated via the OCX.
Any ideas???
Thanks again,
Leo.
-
Sep 20th, 2001, 09:30 AM
#4
Addicted Member
Known Problem
Well this is a known bug
You will need to install service pack 5. At least this is what Microsoft says.
-
Jun 28th, 2002, 08:34 AM
#5
PowerPoster
Sorry to have brought this thread up, But I am getting the same error. I am using no dll's or ocxs and the OS is Xp. then too I get this error. If someone has found a soln or a reason , Kindly post it back.
-
Jun 28th, 2002, 08:20 PM
#6
This error happens couse your program or one of your objects is referencedto another, and when it runs, it can't 'open' the referenced object by its own.
For example, you take a test program and a test ActiveX exe, and you reference the AX with teh program, and you put code which tells the ActiveX to run.
You run the program, click on the command button which runs the code which suppose to run the AX, but if u'll try it u'll see it aint workin, cuz the ActiveX cant run itself. you will need to click the 'play' button in the AX and only then you will be able to run the AX from the program, since the AX is already running.
Hope I helped...
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
|