Solved

ActiveX component can't create object

Posted on 2001-06-18
4
149 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
Comment Utility
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
Comment Utility
In that machine, try install ADO2.5.. May be that could be the reason

Arun
0
 
LVL 9

Expert Comment

by:Valliappan AN
Comment Utility
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
Comment Utility
Thanks for the help.  Installing MDAC fixed the problem perfectly.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

772 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

10 Experts available now in Live!

Get 1:1 Help Now