Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

VB application and 'MSADODC.OCX' problems

Posted on 2003-11-19
4
887 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…

791 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