Solved

ActiveX component can't create object

Posted on 2001-06-18
4
155 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

777 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