Solved

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

Posted on 2006-06-22
4
934 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
  • 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
 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This is about my first experience with programming Arduino.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

860 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