Solved

Class not registered

Posted on 2001-07-09
10
720 Views
Last Modified: 2013-11-13
when i am trying to setup my application on a windows 95 os i am getting an error -2147221164 with the message "class not registered" i am using vb6 with access 2000 and ado's 2.1

thanks
0
Comment
Question by:sumbul
  • 3
  • 3
  • 2
  • +2
10 Comments
 
LVL 33

Expert Comment

by:hongjun
Comment Utility
Register the dll file manually using this syntax.
regsvr32 c:\your_dll.dll

I am assuming your dll file is in c:\

hongjun
0
 
LVL 4

Accepted Solution

by:
VincentLawlor earned 50 total points
Comment Utility
Could you elaborate please...

Is the setup program a automatic setup program like Wise Installer, Install Shield etc.

It sounds like you have not included some dll's with the install. Most likely MDAC (Data Access)

You can get MDAC from the Microsoft downloads web site.

0
 
LVL 69

Expert Comment

by:Éric Moreau
Comment Utility
Have you runned DCOM95.exe (or DCOM98.EXE) before installing ADO? This is a sure requirement.
0
 

Author Comment

by:sumbul
Comment Utility
thanks all of you, i figured the answer myself after some r&d.  the problem was that i needed to install mdac2.5 which adds the required dll's used by ado 2.1 library.
0
 
LVL 4

Expert Comment

by:VincentLawlor
Comment Utility
Any chance of the points ?
Since I suggested getting MDAC ?
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 33

Expert Comment

by:hongjun
Comment Utility
VincentLawlor should deserve it.

hongjun
0
 
LVL 4

Expert Comment

by:VincentLawlor
Comment Utility
Thanks for the backup.

Now where's me points :-(

Vin.
0
 
LVL 33

Expert Comment

by:hongjun
Comment Utility
Perhaps you got to wait for sumbul to reply. Cannot help you.

hongjun
0
 
LVL 5

Expert Comment

by:Netminder
Comment Utility
A request has been made (http://www.experts-exchange.com/cleanup/Q_20320181.html) that this question be closed with the following resolution: points to VincentLawlor

EXPERTS: Please leave any comment regarding this request here; I will return in seven (7) days to close the question.

Netminder
CS Moderator
0
 
LVL 5

Expert Comment

by:Netminder
Comment Utility
Per recommendation, force-accepted.

Netminder
CS Moderator
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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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 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…

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