Welcome to MSDN Blogs Sign in | Join | Help

VSTO For Mere Mortals Video: Customizing the Ribbon with VSTO 2005 SE

 

This screencast shows you how to customize the Ribbon in Excel using VSTO 2005 SE. You'll see how to use the new Ribbon support item in Visual Studio to add a group and toggleButton to the Add-ins tab of the Ribbon, and how to further customize it.

 

View Video                Download Video
                                  (Right-click link)

The video is 04:28 minutes in length, and 14MB in size.

 

--Kathleen

Published Monday, February 05, 2007 5:31 PM by kmcgrath

Comments

# VSTO for Mere Mortals Video: Create a Ribbon using VSTO SE

With the release of VSTO SE you can now create add-ins for Office 2007. These add-ins can now take advantage

Tuesday, March 20, 2007 7:24 PM by Paul Stubbs

# re: VSTO For Mere Mortals Video: Customizing the Ribbon with VSTO 2005 SE

Hi, Kathleen. I'm wondering how to internationalize the ribbon during customization. The ribbon definition is in XML file, how can we change the caption of buttn or tool tip in the runtime according to different calture?

mason_hzx@hotmail.com

Thursday, October 09, 2008 12:58 AM by mason00

# re: VSTO For Mere Mortals Video: Customizing the Ribbon with VSTO 2005 SE

On thing plus, can I get the build in tab of Ribbon such as tabInsert by using CommandBars.FindControl method through controlID, and then add my customer button to build in tab? Is there a controlID reference of buildin control that I can know which ID I shall pass in to the method?

Thursday, October 09, 2008 1:02 AM by mason00

# re: VSTO For Mere Mortals Video: Customizing the Ribbon with VSTO 2005 SE

Hi,

I got some information about this from the Office product team:

Since you are using the raw XML mode of VSTO you won’t get the WinForms-style localization abilities. There are two options:

1.  Return a localized XML file with the labels specified in it, either with separate XML files for each language, or with one XML file that has localization tokens which are replaced with the appropriate labels on boot before passing the XML to Office.

2.  Use ‘getLabel’ callbacks on each control which Office will call when it needs the labels. The getLabel callbacks can then go and look up the appropriate labels in a string table based on the ID or Tag of the control.

Re the control ID, see the video in this posting:  http://blogs.msdn.com/kathleen/archive/2006/09/19/761543.aspx

Also, the lastest version of VSTO (in Visual Studio 2008) has a Ribbon designer that makes this all much easier.

--Kathleen

Thursday, October 09, 2008 6:47 PM by kmcgrath
Anonymous comments are disabled
 
Page view tracker