VB application and 'MSADODC.OCX' problems

Posted on 2003-11-19
Medium Priority
Last Modified: 2007-12-19
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.

Question by:jharber15
1 Comment

Accepted Solution

vbhelp12345 earned 140 total points
ID: 9781879
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!

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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?
Introduction to Processes
Loops Section Overview

624 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