index > Visual Studio Tools for Office > Office 2007 Custom Ribbon

Office 2007 Custom Ribbon


I have created a new project and im trying to follow Ted Pattison's "Office Developer Screencast" for creating your own ribbon. I just added Microsoft.Office.Core to the project but it won't let me add IRibbonExtensibility from the drop down selections,I have installed the latest SDK (Sept 06) and Power Toys, also the Visual Studio 2005 tools for Office Second Edition Beta, is there anything else i need?

namespace DPPMacros

{

using System;

using Extensibility;

using System.Runtime.InteropServices;

using Microsoft.Office.Core;

[GuidAttribute("BBF36B84-9826-49C1-883F-41F650064095"), ProgId("DPPMacros.Connect")]

public class Connect : Object, Extensibility.IDTExtensibility2, IR******************************

Koluns81

Keep in mind that you have to install Office 2007 to take advantage of this functionality and use Office 2007 PIAs (primary interop assemblies).

I also suggest you to try VSTO 2005 SE to create ribbons. Just create new Office 2007 Excel AddIn, right click on the project item and select "Add Item" - along with other you will see a "Ribbon Support" item. Once you create Ribbon, you will need to uncomment some code at the top of the Ribbon.cs file - but then press F5 and you will see the (although minimal) ribbon show up.




Misha (VSTO team is hiring. We would like to hear from you http://tinyurl.com/ZQGW2)
Misha Shneerson - MSFT
Thanks for the advice, i had the exact same thought when i was going to sleep that night!!
Koluns81
reply 3

You can use google to search for other answers

 

More Articles

Adding XML nodes in run time
VSTO Installation
usersettings & specific path
ActionsPane does not show up...please helps...
Adding Dynamic Data points to the Excel at runtime.
NamedRange Binding
get_XML
How to use vb to add exite effects in powerpoint
Update the thread "Now Available: Visual Studio Tools for Of...
Adding controls at runtime resulting error
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

run word document
Automatically signing a word document.
ItemAdd Event Destination folder.
How to Show Complete Format Cells dialog
ListObject bug or something silly?
OutlookAddin
Xml Toolbox issue
open a .pps in a .net form
Using a template on a template
Package Wizard
ActionsPane does not show up...please he…
Retrieving Data from Excel Pivot tables …
Migrating Existing Excel with Macros to …
Will Intellisense show all members even …
Strange problem with the plugin...

Hot Articles

Dynamic XMLNode controls
IDTExtensibility2.OnConnection not calle…
Migrating VBA Excel solution to VSTO sol…
How to add button to toolbar similar as …
Toolbox weird behavior!!!
How to use CDO object with C#
Aligning Center
VSTA and Access 2007
XSD File is not showing all the data fie…
How to Develop a Com Addin that works fo…
Field code in mail merge documents
Proxy objects -- What were they thinking?
Determine selected cells in a ListObject
Word 2007 customized ribbon deployment
Microsoft Word 2003 and WordML (How to S…

Recommend Articles

VSTO 2005 application manifest
Uninstalling addins: removing menuitems …
How can i add some contents chosen from …
How do I incorporate a VS project word d…
C#: Reading a value of a checkbox create…
VSTO 2005, .NET 2.0 Custom Smart Tags
Export Mapping XML without load DLL
how to insert datagridview into a bookmark
Modifying .NET Security Policy for VSTO …
WebService and VSTO project, on diff. ma…
imageMso attribute
Unable to build MSI/Setup program refere…
Delete a range in VSO
How to run VSTO excel file on Web Server
Starting Excel with C#