|
-
Feb 5th, 2003, 05:01 AM
#1
Thread Starter
Lively Member
Error: "Query Interface...."
I (unfortunately only sometimes) get the error message "QueryInterface for interface System.Runtime.InteropServices.UCOMIConnectionPoint failed".
What does that mean?
This morning I got it when debugging at the following statement:
Code:
RemoveHandler CType(objWordInstance, Word.ApplicationEvents2_Event).DocumentBeforeClose, AddressOf DocumentBeforeClose
Random?
-
Mar 13th, 2003, 06:27 AM
#2
New Member
I’ve the same problem. I’ve a VB.Net program using functions from a VB6 dll and sporadically I get this message. Did you find any solution or explanation?
-
Mar 13th, 2003, 06:56 AM
#3
Thread Starter
Lively Member
Not really.
I put the statement I mentioned (Removehandler...) in a empty try...catch...end try:
VB Code:
Try
RemoveHandler CType(objWordInstance, Word.ApplicationEvents2_Event).DocumentBeforeClose, AddressOf DocumentBeforeClose
Catch
End Try
and after that I didn't have the error again. But I think that's only a kind of workaround not a solution.
-
Mar 13th, 2003, 07:07 AM
#4
New Member
Thnx, I will try this “solution” (or workaround), if it works, it is enough for me.
-
Mar 17th, 2003, 10:05 AM
#5
New Member
Hi,
I’ve found a solution for this bug, (I don’t know if you exactly have the same problem) My application is using COM objects and I get this message leaving the application idle for approx. 10 or 15 min., and then trying to work with it again. Surfing the web, I’ve found that Microsoft has a patch for this bug; the patch is Q325699, but it is a non-public fix and you have to contact Product Support Services to get it (in any case, this bug will be fixed in the next framework service pack).
I’m using this patch and at the moment it works fine.
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
|