I've just made some changes to an ActiveX Control.
Then re-made the .OCX file.
Now I have 2 references to this controls project in my components gallery.
How do I get rid of the old one.
Printable View
I've just made some changes to an ActiveX Control.
Then re-made the .OCX file.
Now I have 2 references to this controls project in my components gallery.
How do I get rid of the old one.
Can't you just go to Project/Components and uncheck the one you don't want?
Sorry, I didn't explain my problem very well.Quote:
Originally posted by SeanK
Can't you just go to Project/Components and uncheck the one you don't want?
I've now got 2 items in the components list called 'GlenControls'.
Both of which point to the same set of controls.
Why?
When you compile an OCX, VB automatically registers it for you so it appears in your Component list. Deleting the OCX won't delete the registry entry. You would have to look for it in the registry which is a daunting task. Its better you leave it like thatQuote:
Originally posted by GlenW
I've just made some changes to an ActiveX Control.
Then re-made the .OCX file.
Now I have 2 references to this controls project in my components gallery.
How do I get rid of the old one.
You should have unregistered your control before deleting it. I guess now its too late
I've deleted all the entries for the controls in the registry, after saving the latest version to disk.
Re-installed them and it seems to have sorted the problem.
Cheers.