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.
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.
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
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
This Hands-On Lab is comprised of the following exercises:
Customizing the Office Ribbon in Office
Building a Word 2010 Add-in
Using the Visual Studio 2010 Ribbon designer
Estimated time to complete this lab: 30 minutes.
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%.
Inside the lab’s Source folder, you will find a Solution folder containing an end solution with the completed lab exercise.