Link to home
Start Free TrialLog in
Avatar of damienm
damienmFlag for United Kingdom of Great Britain and Northern Ireland

asked on

ActiveX component can't create object

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.
ASKER CERTIFIED SOLUTION
Avatar of Valliappan AN
Valliappan AN
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ArunKannan
ArunKannan

In that machine, try install ADO2.5.. May be that could be the reason

Arun
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
Avatar of damienm

ASKER

Thanks for the help.  Installing MDAC fixed the problem perfectly.