• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 896
  • Last Modified:

VB application and 'MSADODC.OCX' problems

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.

0
jharber15
Asked:
jharber15
1 Solution
 
vbhelp12345Commented:
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!
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now