Solved

Setup And ADO

Posted on 1998-06-29
2
164 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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

696 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