How to Use COM Interop to Interact With Microsoft Office


show more Using COM Interop to interact with Microsoft Office provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Silverlight 5 Essential Training show less
please wait ...

Using COM Interop to interact with Microsoft Office

I want to show you some other ways to use COM Interop. In this movie, I'll look at interacting with Microsoft Excel and show you how to use the Windows zdhell command. I'm inside Visual Studio, I've opened the UsingComInterop project, and I'm going to be working with this XAML file right here, ExcelInterop.xaml. The idea is I'm going to take these values from these text boxes and put them into a spreadsheet, pick a chart from this combo box dropdown, and when I click the Create Chart button, I'll make that chart in the Excel spreadsheet.

Let me show you the code. I'll double-click on the C# file. I'll put a break point--it looks like I already have one here on line 39--and then I'm going to run the application. So I'll press F5 to run the application, and then I'm going to go down to my taskbar and show you that Excel is currently not running. I'll then click the Create Chart button, hit my break point. I have verified that I'm able to ...

Using COM Interop to interact with Microsoft Office
Video duration: 4m 47s 8h 52m Beginner

Viewers:

Using COM Interop to interact with Microsoft Office provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Silverlight 5 Essential Training

Subject:
Developer
Software:
Silverlight Visual Studio
Author:
please wait ...