Showing posts with label RibbonX. Show all posts
Showing posts with label RibbonX. Show all posts

Monday, July 07, 2008

Customize Office 2007 Ribbon using Visual Studio 2008(Part 2)

In part 1 of the series, I posted a question as where are the Office Add-In built by VS 2008 saved, and today I somewhat find out an answer (though it is not complete answer yet) with help of this blog

The AddIn is physically located at C:\YourAddInDir\Bin\Debug, and when Office application starts, it looks into following registry location for custom AddIns developed by user

  • HKCU\Software\Microsoft\Office\<App>\AddIns

To see it, open a PowerShell window, and do the following

  • cd Registry:: HKCU\Software\Microsoft\Office\Word\AddIns
  • dir
  • get-itemproperty WordSearch format-list

Still some questions remain:

  1. How many places the Office app look during its startup?
  2. Where are all the MS built-in customizations located?

Thursday, July 03, 2008

Customize Office 2007 Ribbon using Visual Studio 2008(Part 1)

This link provides a good walk through on Ribbon customization using Visual Studio 2008.

Displaying a Directory Search Custom Task Pane from the 2007 Office Ribbon

The question is : Where are the new customization saved in ? normal.dotm? But inside it, I don't see a customUI.xml file.

Q&A: How to find all the idMso for Office applications

Q: Office 2007 comes with a new Ribbon user interface, and all the built-in controls on it have id, these ids are special id called idMso. For example, File Save button's idMso ="FileSave", Developer tab's idMso="TabDeveloper". To customize Ribbon UI, many times you need to know idMso for the built-in controls you want to customize. But how to find what all idMso are for Word, Excel, Access and Outlook?

A: According to Customizing the 2007 Office Fluent Ribbon for Developers (Part 3), here is how:

  1. Click the Microsoft Office Button, and then click Application Options.
  2. Click Customize, and then select the item you want information about.
  3. Move the pointer over the item. The dialog box displays the control's idMso value in a ScreenTip, in parentheses.