regasm question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I used the following statement to unregister a COM Class:

regasm "path\myCOMLib.dll" /u

Why does the class (myCOMClass) still show up in the References list in the
VBA editor? (It however won't instantiate in VBA which is what I'd expect as
it is unregistered.)

What do I have to do to remove it from the References list?

The class also continues to show up in the registry under under
HKEY_CLASSES_ROOT, HKEY_LOCAL_MACHINE, etc. How do we remove it from the
registry?

Thanks
Mark

at the command prompt and it said it
couldn't find the dll.
 
I used the following statement to unregister a COM Class:
regasm "path\myCOMLib.dll" /u

Why does the class (myCOMClass) still show up in the References list in the
VBA editor? (It however won't instantiate in VBA which is what I'd expect as
it is unregistered.)

What do I have to do to remove it from the References list?


You have to unregister the typelib too by including the /tlb switch.


Mattias
 
Thanks - that did the trick.

Is there anything else I need to know about the unregistor process?
 
Back
Top