regasm question

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

Mattias Sjögren

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
 
G

Guest

Thanks - that did the trick.

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top