How do I unregister .DLL and .OCX files? 
Author Message
 How do I unregister .DLL and .OCX files?

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



Fri, 18 Apr 2003 15:57:52 GMT  
 How do I unregister .DLL and .OCX files?
euh... did you use the /U parameter?

REGSVR32 /U dll_name

--
SLE
http://go.to/sle


Quote:
> 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



Fri, 18 Apr 2003 16:11:44 GMT  
 How do I unregister .DLL and .OCX files?
Opps...  yes I have tried regsvr32.exe /u dllname

Martin Fletcher

Quote:

> euh... did you use the /U parameter?

> REGSVR32 /U dll_name

> --
> SLE
> http://go.to/sle



> > 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



Fri, 18 Apr 2003 16:22:00 GMT  
 How do I unregister .DLL and .OCX files?
regsvr32.exe xxxx.xxx /u

On Mon, 30 Oct 2000 07:57:52 GMT, "Martin Fletcher"

Quote:

>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



Fri, 18 Apr 2003 16:47:06 GMT  
 How do I unregister .DLL and .OCX files?

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


Quote:
> 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



Fri, 18 Apr 2003 18:06:57 GMT  
 How do I unregister .DLL and .OCX files?

In what language are the .DLLs and .OCX files written? It is up to the
actual binary what they will do when they are unregistered.

--
MichKa

a new book on internationalization in VB at
http://www.i18nWithVB.com/


Quote:
> Opps...  yes I have tried regsvr32.exe /u dllname

> Martin Fletcher




Quote:
> > euh... did you use the /U parameter?

> > REGSVR32 /U dll_name

> > --
> > SLE
> > http://go.to/sle



> > > 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



Fri, 18 Apr 2003 21:01:25 GMT  
 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.



Fri, 18 Apr 2003 23:01:15 GMT  
 How do I unregister .DLL and .OCX files?
Martin,

Goto www.addisonsw.com and grab a free copy of regdrop. It will let you
register and unregister COM components easily via drag and drop, plus it
will give you an error code if the unregister fails.

Kyle


Quote:
> 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



Sun, 20 Apr 2003 22:15:15 GMT  
 How do I unregister .DLL and .OCX files?
Here's a little registry hack to get the right click to work in your favor
(both are basically the same, just the REGEDIT tag at the top is
different.):

Win2k:

Windows Registry Editor Version 5.00









Win 95/98/NT 4:

REGEDIT4










Quote:
> Martin,

> Goto www.addisonsw.com and grab a free copy of regdrop. It will let you
> register and unregister COM components easily via drag and drop, plus it
> will give you an error code if the unregister fails.

> Kyle



> > 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



Wed, 23 Apr 2003 00:13:06 GMT  
 How do I unregister .DLL and .OCX files?


I found the above posts a while back that were provided in answer to the
same question. Are the above answers incorrect?



Quote:
> Here's a little registry hack to get the right click to work in your favor
> (both are basically the same, just the REGEDIT tag at the top is
> different.):

> Win2k:

> Windows Registry Editor Version 5.00

> [HKEY_CLASSES_ROOT\.dll]

> [HKEY_CLASSES_ROOT\dllfile]

> [HKEY_CLASSES_ROOT\dllfile\Shell\Register\command]

> [HKEY_CLASSES_ROOT\dllfile\Shell\Unregister\command]

> [HKEY_CLASSES_ROOT\.ocx]

> [HKEY_CLASSES_ROOT\ocxfile]

> [HKEY_CLASSES_ROOT\ocxfile\shell\Register\command]

> [HKEY_CLASSES_ROOT\ocxfile\shell\Unregister\command]

> Win 95/98/NT 4:

> REGEDIT4

> [HKEY_CLASSES_ROOT\.dll]

> [HKEY_CLASSES_ROOT\dllfile]

> [HKEY_CLASSES_ROOT\dllfile\Shell\Register\command]

> [HKEY_CLASSES_ROOT\dllfile\Shell\Unregister\command]

> [HKEY_CLASSES_ROOT\.ocx]

> [HKEY_CLASSES_ROOT\ocxfile]

> [HKEY_CLASSES_ROOT\ocxfile\shell\Register\command]

> [HKEY_CLASSES_ROOT\ocxfile\shell\Unregister\command]



> > Martin,

> > Goto www.addisonsw.com and grab a free copy of regdrop. It will let you
> > register and unregister COM components easily via drag and drop, plus it
> > will give you an error code if the unregister fails.

> > Kyle



> > > 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



Wed, 23 Apr 2003 03:00:00 GMT  
 
 [ 10 post ] 

 Relevant Pages 

1. How do I unregister .DLL and .OCX files?

2. Programmatically Unregister DLL and OCX

3. Register/Unregister dll/ocx using API calls

4. Unregister TLB VBR EXE OCX DLL

5. DLL function to unregister a DLL?

6. Unregister OCX's

7. Some servers and ocx's won't unregister

8. beans.ocx cannot be loaded, when you unregister and register the JavaBean as an ActiveX Component

9. Cannot unregister OCX control

10. Why don't my exe's and ocx's unregister

11. How to unregister the OCX from VB

12. How to unregister a missing ocx?

 

 
Powered by phpBB® Forum Software