Solved

Setup And ADO

Posted on 1998-06-29
2
163 Views
Last Modified: 2010-05-03
I've written a program that uses ADO, and I have used the Setup Wizard to create the setup program. The Setup Wizard recongnizes that the ADO dll (msado15.dll) is needed, but when I run the setup program on a machine without that dll already installed (which will be the case for most machines), I get the following error during setup:

"An error occured while registering the file 'C:\WINDOWS\SYSTEM\MSADO15.DLL'"

Then, of course, when the program is run and and attempts to create an ADODB.Connection object, the following error occurs:

"Run-time error '429': ActiveX component can't create object"

Should I be doing something extra when using the Setup Wizard so that msado15.dll will register properly (dependecies that I need to include maybe)?

Any input is appreciated. This is for school and my deadline is quickly approaching ;)

Thanks.
0
Comment
Question by:umkibbi0
[X]
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
2 Comments
 
LVL 1

Accepted Solution

by:
brunchey earned 100 total points
ID: 1464535
I would recommend using the MDAC setup that comes from microsoft.  You can get it from http://www.microsoft.com/data/mdac15.htm.  The problems that you are getting with the registration are dependency file things.  There is some file that needs to be registered on the PC before  MSADO15.dll can be registered.  So what I would recommend is to install the mdac15 setup first and then install your application.
0
 

Author Comment

by:umkibbi0
ID: 1464536
Perfect. That was far less painful and far more timely than I expected. Awesome.

Thanks.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

738 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