Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

"Class Not Registered"

Posted on 2000-05-15
6
Medium Priority
?
1,263 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
[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
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 600 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
Suggested Courses

704 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