Solved

Setup And ADO

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
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…
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…

929 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now