
How do I unregister .DLL and .OCX files?
Martin,
Rather than finding the registry entries by hand, you could rename all
the DLLs/OCXs to something else and then use RegClean to weed out the
invalid registry entries. Actually, RegClean does not do a thorough job
although it does prevent you from creating objects with a GUID whose
server does not exist. COMclean from the web site at the bottom will
usually find lots of orphan entries missed by Regclean. I agree with
Trevor that multiple copies of the same file is likely to be the cause
of your problems.
Quote:
> Hi Martin,
> Can U just find out how many DLL's you have with the same name. Could
be
> that you created DLL's in different directories. Also U may need U
restart
> the machine if the objects are being pooled as in MTS and IIS. try
> restarting the machine. Then find out all the DLL's or OCX with the
same
> name if there are any and then unregister each on of them.
> You can also find the keys in the registry by the dllname and
delete
> them and then run RegClean but remember that this could be dangerous.
If
> there's anything more specific that you would like to clarify just
send a
> mail.
> Thanks & Regards
> Trevor Benedict R
> Software Consultant
> Western Digital Sdn Bhd.
> Tel Off : 006-03-7870-5860
> HP : 006-012-2927795
> > I need to unregister a few .DLL and .OCX files, but on the computer
these
> > are on I seem to be having a problem.
> > Even after trying Regsvr32.exe dllname the control remains
registered.
> any
> > ideas? Can this be done another way, such as through the registry
or api
> > calls?
> > I am crossposting because I need to figure this out VERY SOON.
> > Thanks Martin Fletcher
--
Roger Abbott, RHA (Minisystems) Ltd - http://www.rhaminisys.com
DDE Client and Server ActiveX controls for
Visual Basic DDE FAQ and DDE utility tools, browser URL monitor,
Program launcher/setup menu, other freeware and shareware
Sent via Deja.com http://www.deja.com/
Before you buy.