Remove an Entry from Available References
Quote:
> Thanks Jeff, a reg Cleaner did it for me.
> It's too bad though.... MS allows me (us) to manually add References, but
> doesn't allow us to manually remove them.
I assume you mean within the IDE because MS *does* provide a way to manually
register/unregister ActiveX components...and that's the regsvr32.exe command
line tool. I recommend you associate this tool with DLL and OCX files. Here
are 2 .reg files to do this:
For DLL files
-------------------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\dllfile\shell]
[HKEY_CLASSES_ROOT\dllfile\shell\Register]
[HKEY_CLASSES_ROOT\dllfile\shell\Unregister]
-------------------
For OCX files
-------------------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\ocxfile\shell]
[HKEY_CLASSES_ROOT\ocxfile\shell\Register]
[HKEY_CLASSES_ROOT\ocxfile\shell\Unregister]
-------------------
Copy and paste the text between the pairs of dashed lines into Notepad and
save each with a file having a .reg extension. Be sure to change the name of
the Windows folder (and perhaps the drive letter as well) as appropriate for
your system. Once saved, double-click each file to add the information to
the Registry. Now, when you right-click a DLL or OCX file in Windows
Explorer (and many Explorer-style dialog boxes like File Open or File Save),
you'll have Register and Unregister commands.
--
Mike
Microsoft MVP Visual Basic