Multiple COM Add-In buttons appearing

Hi

I have written a COM Add-In for use with Word.  However every time I run Word a new button appears on the toolbar, even though I am explicitly deleting the button when I disconnect.  This means I end up with a row of identical buttons instead of just one.

The code for the disconnection is:

    MyButton.Delete
    Set MyButton = Nothing

which I took from http://support.microsoft.com/default.aspx?scid=kb;en-us;238228

lazydave_bbkAsked:
Who is Participating?
 
ShauliConnect With a Mentor Commented:
This is a known bug. To work around use this link:

http://support.microsoft.com/default.aspx?scid=kb;en-us;230876

S
0
 
lazydave_bbkAuthor Commented:
I have searched high and low for this before posting - thanks a lot
0
 
lazydave_bbkAuthor Commented:
Just wondering, when MS say:

The information in this article applies to:
Microsoft Visual Basic Professional Edition for Windows 6.0
Microsoft Visual Basic Enterprise Edition for Windows 6.0
Microsoft Office Word 2003
Microsoft Word 2002
Microsoft Word 2000

Obviosly no COM Add Ins for 97 but, Does that mean OK with previous VB to VB 6 or known bug for all Word COM Add Ins?

Thanks again - life saver
0
 
ShauliCommented:
Usually it does not. Usually it means what MS$ say it applies to. But in this case, I would expect this bug in previous version as well, although I don't have any experience with previous versions.

S
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.