Visual Basic 6 and Automation Errors

For all coding issues - MODers and programmers, HTML and more.

Moderators: Jeff250, fliptw

Post Reply
User avatar
SirWinner
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2700
Joined: Thu Nov 05, 1998 12:01 pm
Location: Oklahoma City, Oklahoma, United States of America
Contact:

Visual Basic 6 and Automation Errors

Post by SirWinner » Sat Apr 29, 2006 12:47 am

In order to fix these \"Automation errors\" when running VB6 EXE...

Runtime Error: '-2147024769 (8007007f)'

*** OR ***

Runtime Error: '-2147024770 (8007007e)'

One of these 2 seems to fix the error:

- Registering the proper DLL(s).
\"Regsvr32 Filename.DLL\"

- Replacing the Bad DLL.
Had a DLL that was the wrong one. By replacing it with the GOOD one the problem was solved.

***

Hope this helps someone else fix this kind of problem.

A Google Search on the first of the 2 errors tried to say it was an ADODB issue. But since I wasn't using a Database, I ruled that out.

Enjoy!

8)
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post by DCrazy » Wed May 03, 2006 11:59 pm

Reformatted and stickied (hey, why not?).
User avatar
Testiculese
DBB Material Defender
DBB Material Defender
Posts: 4680
Joined: Sun Nov 11, 2001 3:01 am
Contact:

Post by Testiculese » Thu May 04, 2006 6:51 am

In VB, 'automation' basically means 'dll', so that would have been the first order of business.
Post Reply