MS Word 2003 Add-ins

P

Pawe³

Hi!
I am experimenting with .NET Add-ins for Word (2003).
I am experiencing some problems with debugging, when I try to run Word
directly from VS (with closed Outlook ;).
Where can I find some kind of Add-ins management within Word ?.. Word
displays message at startup, that some plugin causes error and it will
disable it. And I would like to look at all avaible Add-ins for Word (loaded
in its process) and maybe reenable some of them.
How to accomplish this ?.. I cant find any window :( Hope that there is some
way, other that studying registry.

Thanks for any advice.
Paul
 
P

Peter Huang

Hi,

I did not understand the meaning very well, but if you wants to get the
list of the disabled addin-item, you may try to navigate the menu.
Help/About Microsoft Office Word/Disabled Items

If I have any confusion, please feel free to let me know.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
P

Pawe³

That's what I was looking for. Thanks.
But this shows only those disabled plugins. Am I able to disable the Add-in
now? How can I enumerate all loaded add-ins?..

My other problem is that, when I'm trying to start start Word from Visual
Studio (by running debug mode with selected word executable as debuged
process within project configuration) Word displays that some add-in
produces an error and it disables my add-in. When I am running Word
"stand-alone" (without debuger) it works fine (plugin is loaded and works as
I expected).

Paul
 
P

Peter Huang

Hi Paul,

To view the loaded COM Addin, we can follow the steps below.
1.right click on the word toolbar area and select customize
2.select commands tab and select Tools in the categories listbox
3, in the right listbox, drag COM Addin command onto the toolbar and close
the dialog by clicking OK
4.click the new added button COM Addin to view the addin(the addin with the
checkbox unchecked means that it is not loaded)

As for the debugging issue, what did you do in the OnConnection method. If
you unload the addin first in the COM Addin dialog and then run the
winword.exe.
Attach vs.net debugger onto the winword.exe and then load the addin, did
the breakpoint in the OnConnection hit and the problem persists?

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top