|
|
|
date: Mon, 29 May 2006 10:25:02 -0700,
group: microsoft.public.word.vba.addins
back
VB6 COM add-in issue for MS Word 2000
I was able to create a COM Add-In for MS Word by following the following
article
http://support.microsoft.com/kb/q238228/
The only change that I made in the code for above article was that in the
Designer window, I selected the application to be MS Word 9.0
I ENCOUNTERED THE FOLLOWING PROBLEM: Whenever I open the MS Word, it creates
an additional copy of the command button on the toolbar. First time I open
the MS Word, it creates one “My CuSstom Button” on the toolbar, second time I
open MS Word, it creates another “My CuSstom Button” on the toolbar and so on.
The same example for Excel works fine and it does not create a new “My
CuSstom Button” every time I open Excel.
What is I need to do to resolve the above issue for MS Word?
Thanks,
Nam
"Nam" wrote:
> I want to create a COM Add-In for MS Word 2000 using VB6 that should perform
> the following:
>
> 1. Add in has a VB form that contains a VB6 toolbar control etc.
>
> 2. When user clicks on a commandButton on MS Word toolbar, the VB6 form pops
> up. The form is docked to the border of the Word document window during the
> editing of the document.
>
> 3. When a user clicks on a VB6 toolbar button, a certain text gets typed in
> on the Word document.
>
> I can take care of item 3 above. I have read some MSDN articles like the
> following, but I am still unclear on item 1 and 2 above:
> http://support.microsoft.com/kb/q238228/
> http://www.microsoft.com/technet/prodtechnol/office/office2000/proddocs/opg/part2/ch11.mspx
>
> NOTE: My actual task is much more complex, so I do not want to use Word
> templates as add-in.
>
> Thank you in advance,
> Nam
>
date: Mon, 29 May 2006 14:15:01 -0700
author: Nam
|
|