Solved

Unregistering deleted dll's in the registry

Posted on 2001-06-14
9
1,103 Views
Last Modified: 2008-02-01
I've made a bit of a mess.
I've compiled two dll's and registered both.
Made the mistake of permenantly deleting one which the other has as a Typelib.
How can I unregister the deleted dll and remove the stain it has left in the registry and leave the other one to function properly.
0
Comment
Question by:HelpAndy
9 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 95 total points
ID: 6191639
hey HelpAndy,
be sure to close out your other question.  looks like you got your solution:
http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20125966
0
 
LVL 18

Expert Comment

by:bobbit31
ID: 6191682
regsvr32 /u <dll filename>
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 6191701
won't work bobbit31. The UnregisterServer function of the dll is being called. But since the dll does not exist anymore :-/

Best bet is just deleting the entries in the registry.

Regards,
CJ
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 6191703
DllUnRegisterServer function I mean.
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 1

Expert Comment

by:morgan_peat
ID: 6191732
Try RegClean from Microsoft.
This is a free product (just do a search, I'm not sure where it is anymore).

It goes thru the registry and removes all obsolete / orphan records.

Some people say that it will not work with NT, but I have never had a problem.  It also creates an 'undo' file, so if you do have a problem you can get stuff back. (You can also see everything it has removed).
0
 
LVL 5

Expert Comment

by:rkot2000
ID: 6191817
I tried to use regclean and rebuild my pc after that.
now i using norton.

if you know the progid you can search your registry.
use progid to locate classid and use classid to locate your type lib.
0
 
LVL 3

Expert Comment

by:jrspano
ID: 6191904
morgan's example of regclean has worked for me many times in the past.
0
 
LVL 14

Expert Comment

by:Matti
ID: 6193416
Hi!

I'm using this MS Regmaid

http://support.microsoft.com/support/kb/articles/Q156/0/78.asp

It comes whit VC++ source and has exe included.

Matti
0
 

Expert Comment

by:TonyS020799
ID: 6195013
Hello HelpAndy,
Can you please identify which expert and which comment above you used to solve your problem?  Please be sure that in the future, you click the "Accept Comment As Answer" button next to the expert's name whose solution aided you in resolving your dilemna.  If you have any further questions, please do not hesitate to ask.


Thank you,
TonyS
Community Support Moderator @ Experts Exchange
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

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

919 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

16 Experts available now in Live!

Get 1:1 Help Now