Solved

VB application and 'MSADODC.OCX' problems

Posted on 2003-11-19
4
882 Views
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.

0
Comment
Question by:jharber15
4 Comments
 

Accepted Solution

by:
vbhelp12345 earned 35 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!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A short article about a problem I had getting the GPS LocationListener working.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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 …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

786 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