Solved

Setup And ADO

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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…

770 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