Solved

ActiveX component can't create object

Posted on 2001-06-18
4
156 Views
Last Modified: 2011-09-20
I have written a program in VB to connect to an access database using ado 2.1.

I then installed the program on several computers.  Everything is working fine except on 1 PC where I get the error message 'ActiveX component can't create object' when I try to run the program.

When I was installing the program on this machine I got the error message stdole2.tlb,asycfilt.dll,olepro32.dll,oleAut32.dll where all read only so I renamed these files and continued installing.


All the computers I am installing on have Win95 (I don't know why), but this was the only 1 I got this error message.

I have looked in c:\program files\Common\System and there was no ado dll for this PC.
0
Comment
Question by:damienm
  • 2
4 Comments
 
LVL 9

Accepted Solution

by:
Valliappan AN earned 75 total points
ID: 6201712
Try running the MDAC Application, on the m/c. Also check if you have to instakk DCOM95, for Windows 95.

The MDAC App will be included in your setup kit installation package.

hope this helps.
0
 

Expert Comment

by:ArunKannan
ID: 6201739
In that machine, try install ADO2.5.. May be that could be the reason

Arun
0
 
LVL 9

Expert Comment

by:Valliappan AN
ID: 6201963
ArunKannan,
>Try running the MDAC Application
This installs the ADO components only.

damienm,
If you wish to have MDAC or you need info about it, check this link:
http://www.microsoft.com/data/download.htm

Cheers
0
 
LVL 2

Author Comment

by:damienm
ID: 6205465
Thanks for the help.  Installing MDAC fixed the problem perfectly.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

829 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