Solved

Does anyone know where this error comes from : method '~' of object '~' failed

Posted on 2006-06-22
4
940 Views
Last Modified: 2008-01-09
This is the strangest and hardest error to track down that I have run across. It happens in at random times in different applications I have written, running on different machines, and finally compiled on different systems. The only thing that is common to all is that all the apps where written in VB6. Is this bug in VB6 itself ? Anyone have any clue what could produce this error or even better how to troubleshoot and solve it ??

This is the exact error:

Run-time error '2147024832 (80070040)':

Method '~' of object '~' failed

Any ideas ?
0
Comment
Question by:exptech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 22

Expert Comment

by:cookre
ID: 16965395
0
 
LVL 22

Accepted Solution

by:
cookre earned 500 total points
ID: 16965410
0
 
LVL 5

Expert Comment

by:Davidshc76
ID: 16965822
You really need to provide more information.  The code causing the error
would be helpful.  But give either or both of these a shot:

PRB: Improper Installation of MDAC May Return Error Message "Method '~' of
Object '~' Failed" at Run Time with ADO Application
http://support.microsoft.com/default.aspx?scid=kb;en-us;255986&Product=vb6

PRB: Error -2147467259 (80004005) When Visual Basic Client Calls a Method on
a COM Object
http://support.microsoft.com/default.aspx?scid=kb;en-us;318519&Product=vb6
0
 
LVL 1

Author Comment

by:exptech
ID: 16967967
I took a look at the some of the different apps that are producing the error. Each one is using ADO, so I do believe that both of you are more than likely correct. I have not had the time to actually read each article in detail and try the fixes, but I will in the next day or so. Thanks for the help and point to come shortly !
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Progress
Starting up a Project

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question