Solved

"Class Not Registered"

Posted on 2000-05-15
6
1,220 Views
Last Modified: 2008-02-20
Using VB6 with SP3.  A large application.  This morning I came to work, launched my project.vbp, and got four "Class Not Registered" errors, like:

Looking for object with CLSID: {0002E005-0000-0000-C000-000000000046}-- Continue loading project?

I proceeded through the errors, during which four error logs were generated, like:

Line 42: Class Threed.SSPanel of control pacifier was not a loaded control class.

WHAT HAPPENED?  This is scary.  What do I do?  Please help. -- Norm
0
Comment
Question by:npnp
6 Comments
 
LVL 14

Expert Comment

by:wsh2
ID: 2811623
Welcome to DLL Hell.. <sigh>.

Sounds like someone ran an UnInstall on your computer.. and at the No references exist for this DLL, do you want to delete it.. answered Yes.

-OR-

A program was installed that overlaid the current version of threed that you were using.

-OR-

threed somehow got moved from the location where it was expected.

-OR-

a Registry cleaning program deleted a reference.

-OR-

it was gremlins.. LOL.
0
 
LVL 28

Accepted Solution

by:
AzraSound earned 150 total points
ID: 2811749
try starting a new .exe project and going to project -> components and try adding some control to your project.  see if it generates an error there as well. if it does, see this article (you may want to see it anyways for any possible future reference)

http://support.microsoft.com/support/kb/articles/Q175/1/56.ASP

0
 

Author Comment

by:npnp
ID: 2812239
AzraSound: Thank you for your reply.  I followed the instructions in the article you referenced.  First I started a new VB application, and sure enough, I got the error described in the article.  And when I opened the Component Dialog, no components were displayed.

Next, I checked that ComCat.DLL indeed exists in C:\WINNT\system32
 
Continuing: Following the article, I typed the following in the RUN dialog:
RegSvr32.Exe C:\WINNT\system32 > \ComCat.DLL

(I'm not sure about the spaces surrounding ">")

I got:
LoadLibrary ("C:\WINNT\system32") failed. GetLastError returns 0x0000007e

What now please? -- Norm
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 4

Expert Comment

by:gcs001
ID: 2812337
The correct RegSvr32 command is:
RegSvr32.Exe C:\WINNT\system32\ComCat.DLL.

Although I think you should perhaps look at re-installing both VB6 and SP3!
This would be the safest route to take!
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2812353
you do not need the ">"

just

RegSvr32.Exe C:\WINNT\system32\ComCat.DLL
0
 

Author Comment

by:npnp
ID: 2812515
Thanks to all.  Should be a way to distribute the points.

AzraSound: The Microsoft article you referred me to had a ">" in the instruction!  As soon as I followed your last remark, it worked.  I had one more thing I apparently had to register "by hand", then all was well.

This whole thing started like this: I inherited this computer from an ex-employee, and about once a month I get a message "Update is scheduled to run now, Yes/No".  I always said "No". This morning I said Yes, and spend the rest of the day repenting in sorrow.  I sent e-mail to the guy, asking what that thing is, and how to get rid of it.

Thanks again -- Norm
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

920 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

13 Experts available now in Live!

Get 1:1 Help Now