Adding Command Bar Button in a specific template

A

Ashish_Jaipur

Hi All,

I am developing a Add-In for Word in VB.net. I want to add a Command Button
in short cut text menu. But When I add one it is added for all Templates, the
problem is that I want this just for a specific template.

Pls Help
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?QXNoaXNoX0phaXB1cg==?=,
I am developing a Add-In for Word in VB.net. I want to add a Command Button
in short cut text menu. But When I add one it is added for all Templates, the
problem is that I want this just for a specific template.
You need to set the CustomizationContext property to the document or template to
which you want to make the change. Look it up in the object model HELP files.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
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