Solved

Unregistering deleted dll's in the registry

Posted on 2001-06-14
9
1,108 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
[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
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
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
LVL 22

Expert Comment

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
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…
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…

729 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