Word AddIn Menu for beginner??

O

oxmax

Hi everybody,

i'm trying to add a new Menu with about 5 items in it, which start
new document from a predesigned template.

I can use VST 2003 with .net 1.1 and no .Net support from Office (PIA)
I am familiar with VB.Net technologies, but not with C++ or C#. Th
result need to be only a .dll which can be registered via network logo
script and no setup procedure. I searched the web and found an exampl
from MS http://support.microsoft.com/kb/230689/en-us which works wit
the given OS restrictions. (Here is the direct link for the sourc
code
http://download.microsoft.com/download/office2000dev/update/1/win98/en-us/comaddin.exe)
But i don't know how to add a menu instead of a commandbar and add item
to this menu, which start a new document from special templates.

So if anyone have an idea to modify the example above or if i shoul
use any other technique, would be very very thankful.

cu
oxma
 
C

Cindy M.

Hi Oxmax,
i'm trying to add a new Menu with about 5 items in it, which start a
new document from a predesigned template.
A "dropdown Menu" is a CommandBar control of type msoControlButtonPopup. Such a control
has a CommandBar property that returns an object of that type. You can use this CommandBar
object, in turn, to create CommandBarButton controls (just like for a "toolbar", except
with a different setting for the Style property) or further popup buttons (sub-menus).
I can use VST 2003 with .net 1.1 and no .Net support from Office (PIA).
I am familiar with VB.Net technologies, but not with C++ or C#. The
result need to be only a .dll which can be registered via network logon
script and no setup procedure. I searched the web and found an example
from MS http://support.microsoft.com/kb/230689/en-us which works with
the given OS restrictions. (Here is the direct link for the source
code:
http://download.microsoft.com/download/office2000dev/update/1/win98/en-us/comaddin.exe).
But i don't know how to add a menu instead of a commandbar and add items
to this menu, which start a new document from special templates.

So if anyone have an idea to modify the example above or if i should
use any other technique, would be very very thankful.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply in the
newsgroup and not by e-mail :)
 

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