?
Solved

Unregistering deleted dll's in the registry

Posted on 2001-06-14
9
Medium Priority
?
1,110 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 380 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
Technology Partners: 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!

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…
Suggested Courses
Course of the Month10 days, 17 hours left to enroll

770 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