Solved

ActiveX component can't create object

Posted on 2001-06-18
4
160 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…
Suggested Courses
Course of the Month7 days, 12 hours left to enroll

632 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