Getting Started with Office 2010 Development Lab

Version: 3.0.0

Description

Now with both C# and VB code samples! In this lab, you will build a small add-in for Word 2010 that customizes the Ribbon with a new tab and two buttons. The buttons will export the document in either XPS or PDF fixed format.

Overview

In this lab exercise, you will build a small add-in for Word 2010. You will make use of the data-binding capabilities of WPF combined with the SharePoint Client API. You will make use of new C#\Visual Basic language features to make calls into the object model easier.

Objectives

In this lab you will:

  • Learn to customize the Office ribbon within Office
  • Learn to build and debug a simple Word 2010 Add-in
  • Learn to add a ribbon to your add-in using the ribbon designer

System Requirements

You must have the following items to complete this lab:

  • Microsoft® Windows® Vista SP1 or Microsoft® Windows Server 2008 (64-bit)
  • Microsoft® Office Professional Plus 2010 (32-bit or 64-bit)
  • Microsoft® Visual Studio 2010

Exercises

This Hands-On Lab is comprised of the following exercises:

  1. Customizing the Office Ribbon in Office
  2. Building a Word 2010 Add-in
  3. Using the Visual Studio 2010 Ribbon designer

Estimated time to complete this lab: 30 minutes.

Starting Materials

This Hands-On Lab includes the following starting materials.

  • Visual Studio solutions. The lab provides the following Visual Studio solutions that you can use as starting point for the exercises. Lab instructions will reference the Training Kit location after installation as %Office2010DeveloperTrainingKitPath%.
    Note:
    Inside the lab’s Source folder, you will find a Solution folder containing an end solution with the completed lab exercise.