Ribbon Office Controls Question

I

Igor

I am trying to do something very simple but it does not seem to work. I have
created a new ribbon using ribbon designer in VS2008. I have a custom tab and
all I want to do is to add the DesignMode button to it, which is an Office
control. I don't want to repurpose it or do anything else, just add the
button as it is. Is there any way to do this without manipulating XML at all?

I have tried changing PositionType and setting OfficeID to DesignMode and
also renaming the toggleButton to DesignMode, but neither of those work.

thanks,
Igor
 
I

Igor

I found a solution and it's:
Globals.ThisDocument.ToggleFormsDesign();
in the click event handler.
 
C

Cindy M.

Hi Igor,
I am trying to do something very simple but it does not seem to work. I have
created a new ribbon using ribbon designer in VS2008

As mentioned in another message thread: You'll have better luck getting a good
discussion going in the VSTO forum, when you have problems with VSTO:

http://social.msdn.microsoft.com/Forums/en-US/vsto/threads?
lc=1033&prof=required&page=1

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