January 2011
Intermediate to advanced
1648 pages
70h 30m
English
To illustrate the improvements to COM interop in .NET 4, we start in the old world of .NET 3.5 and show what the code for our scenario looked like back then. Based on this, we gradually make the code simpler while porting it to C# 4.0, while looking at the individual features that form the basis of those enhancements.
The examples shown in this section assume you have a recent version of Office installed, preferably version 2007 or later. In addition, make sure to have the PIA redistributable installed, which you can find by searching the Web for “download Office PIA.” If everything is correctly installed, you’ll find the Office interop assemblies in the Add Reference dialog ...
Read now
Unlock full access