Group:  Microsoft Word ยป microsoft.public.word.oleinterop
Thread: Writing a Word plugin

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Writing a Word plugin
"Bill" <no[ at ]no.com> 26.06.2006 00:05:10
I need to write a program that will add an item to the Word menu. When
the user selects this item from the Word menu an external program must
run that saves the current document to a specific folder then does
something with the file. I have controlled Word via automation from
programs before, however, I have never written a plugin that adds a
menu item which executes a program.

To my surprise I have not been able to find any information on writting
a plugin that adds a menu item after manu attempts with Google. That,
almost certainly, means I am not using the right keywords.

Can anyone point me to any articles, documentation or examples that
show how to write a plugin that adds a menu item to the Word menu and
that lets the menu item run another program when clicked? The program
can be either a COM object or an executable. Thanks.


--
..Bill.
Re: Writing a Word plugin
"Doug Robbins - Word MVP" <dkr[ at ]REMOVECAPSmvps.org> 26.06.2006 03:54:06
See responses in microsoft.public.word.programming. Please do not post the
same question separately to multiple newsgroups.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Bill" <no[ at ]no.com> wrote in message
news:ON%232xQLmGHA.1488[ at ]TK2MSFTNGP02.phx.gbl...
[Quoted Text]
>I need to write a program that will add an item to the Word menu. When
> the user selects this item from the Word menu an external program must
> run that saves the current document to a specific folder then does
> something with the file. I have controlled Word via automation from
> programs before, however, I have never written a plugin that adds a
> menu item which executes a program.
>
> To my surprise I have not been able to find any information on writting
> a plugin that adds a menu item after manu attempts with Google. That,
> almost certainly, means I am not using the right keywords.
>
> Can anyone point me to any articles, documentation or examples that
> show how to write a plugin that adds a menu item to the Word menu and
> that lets the menu item run another program when clicked? The program
> can be either a COM object or an executable. Thanks.
>
>
> --
> .Bill.


Re: Writing a Word plugin
logisimo 23.07.2006 04:40:02
Hi. Every plugin that I have downloaded has known what application to use to
be an extension of the functionality, like a heper to watch video, etc.
Wahtever file your are developing be sure and save, and capitalize form
Word's functionality. But waht you want to write the plugin for could be
defined by a Plugin API that details what does what. Even though it is added
extension, it probably runs within the file. The mmc has snapins. Study
snapins in the MSDN library. Find out if they scripted or coded: methods,
properties, events, etc. Dig away at any api on plugins. You'll integrate
Word, and then, hopefully, you will automate plugin installation for
different web pages, utilities, all by one script.

"Doug Robbins - Word MVP" wrote:

[Quoted Text]
> See responses in microsoft.public.word.programming. Please do not post the
> same question separately to multiple newsgroups.
>
> --
> Hope this helps.
>
> Please reply to the newsgroup unless you wish to avail yourself of my
> services on a paid consulting basis.
>
> Doug Robbins - Word MVP
>
> "Bill" <no[ at ]no.com> wrote in message
> news:ON%232xQLmGHA.1488[ at ]TK2MSFTNGP02.phx.gbl...
> >I need to write a program that will add an item to the Word menu. When
> > the user selects this item from the Word menu an external program must
> > run that saves the current document to a specific folder then does
> > something with the file. I have controlled Word via automation from
> > programs before, however, I have never written a plugin that adds a
> > menu item which executes a program.
> >
> > To my surprise I have not been able to find any information on writting
> > a plugin that adds a menu item after manu attempts with Google. That,
> > almost certainly, means I am not using the right keywords.
> >
> > Can anyone point me to any articles, documentation or examples that
> > show how to write a plugin that adds a menu item to the Word menu and
> > that lets the menu item run another program when clicked? The program
> > can be either a COM object or an executable. Thanks.
> >
> >
> > --
> > .Bill.
>
>
>

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net