VB application and 'MSADODC.OCX' problems

jharber15
jharber15 used Ask the Experts™
on
Hi guys,

I'm sure a lot of you have seen this error before.  I have found many posts on it.  i get this after creating an install exe for my application, installing the application on another pc, and then running it.  I used both the VB package and deployment program and Inno Setup Compiler.  Both eventually showed me this result.

RTE 339:
Component 'MSADODC.OCX' or one of its dependencies not correctly registered: a file is missing or invalid.


I found many posts saying that if you install mdac_type.exe from microsoft, that it should correct this.  I did the install and I still get the same error.  Let me know if there is anything that you guys know of that I should try.  Thanks a lot.

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
I only get this error when transferring a non excutable to a computer with out VIsual Studio( which I have at home ) to a computer running regular VB.  I find I only get it when I click on the form however if I create a Project file it will do this.  Also with Enterprise edition there are two types of compling to make exe files and to run any vb you must have the run time dll of vb installed. I will add more to this answer later when I have some time to look up some notes on the excat file names you need to have on both on computers.  This only applies to VB6.0 if you are ussing a different version this answer may be completly wrong!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial