So, here I am using a Windows Forms form to show the current time. We need to show the current time while clicking on the ShowTime button. Add a Windows Forms form in the Office Ribbon Control.Give an appropriate name for your controls. There is a default Ribbon Group control available on your Ribbon as shown in the following screenshot.Ĭhoose "Label control" from the Office Ribbon Control from the Toolbox and drag and drop this label control into the group control of your Ribbon.
You will see various tools in the ToolBox. Once you have added your Ribbon Control, open the ToolBox from Visual Studio. You will see that in the following screenshot. Give a name of your Ribbon Control and click on the "Add" button. Right-click on your project's Solution Explorer and click on "Add New Item" and select "Ribbon (Visual Designer)" in the item list. Give a name for your project add-ins as shown in the following screenshot. Let's have a look at the detailed procedure.Ĭreate a new project and select "Project Type Office and Word 2010 Add-in". This Add-In displays the current time while clicking on the ShowTime Ribbon Control. In this article, I am creating simple Add-Ins. You can create your own Ribbon tabs and groups to give user's access to functionality that you provide in an application-level add-in. Controls are organized into groups along a horizontal strip at the top edge of an application window. The Ribbon is a way to organize related commands (in the form of controls) so that they are easier to find. If you are new to VSTO development, I am giving you a brief introduction to the Ribbon Control in Office type projects.
#Graphic add ins for office 2010 professional#
Word, Excel, Outlook, PowerPoint, Visio, InfoPath, Projectīuilt into Visual Studio 2010 Professional and above Prerequisite to run the downloaded sample Develop/Build against Office 2010 NET type system.īefore you start to create Add-Ins using VSTO, please ensure prerequisites for creating Add-Ins using VSTO. NET Framework Common Language Runtime (CLR) to expose their functionality via the. Visual Studio Tools for Office (VSTO) is a set of development tools available in the form of a Visual Studio add-in (project templates) and a runtime that allows Microsoft Office 2003 and later versions of Office applications to host the. VSTO is a platform to develop Office applications. Visual Studio Tools for Office (VSTO) is a set of development tools available in the form of a Visual Studio add-ins (project templates). VSTO application add-ins allows developers to extend Office applications.