Solved

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

Posted on 2006-06-22
4
927 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
Comment Utility
0
 
LVL 22

Accepted Solution

by:
cookre earned 500 total points
Comment Utility
0
 
LVL 5

Expert Comment

by:Davidshc76
Comment Utility
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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
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 …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now