How to remove Command Manager Tab

Hi there,

Messing around with VB.Net and some code I've got Command Manager Tabs that I can't get rid of.

Every time I change the text gave me a new Command Manager Tab but I don't know how to remove it, see picture.

As far as I know the Tab is created by 'CreateCommandGroup2' and should be removed with 'RemoveCommandGroup2'.

Maybe the problem is that I don't know exactly how to get the ID from the Tab that I want to remove.

I also try to search the registry to find the Tab and remove it from there but without success.

Can anyone point me in the right direction how to remove an unwanted Command Manager Tab ?

When I completely turn of the Add In the Tabs related to the Add In are not visibly until you turn on the Add in.

Greetings!

SolidworksApi macros