Solved

Multiple COM Add-In buttons appearing

Posted on 2004-09-05
4
277 Views
Last Modified: 2013-11-25
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

0
Comment
Question by:lazydave_bbk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
Shauli earned 125 total points
ID: 11985178
This is a known bug. To work around use this link:

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

S
0
 

Author Comment

by:lazydave_bbk
ID: 11986217
I have searched high and low for this before posting - thanks a lot
0
 

Author Comment

by:lazydave_bbk
ID: 11986230
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
 
LVL 19

Expert Comment

by:Shauli
ID: 11986530
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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month10 days, 3 hours left to enroll

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question