Visual Studio Tools for Office: Using C# with Excel, Word, by Eric Carter

By Eric Carter

Visible Studio instruments for workplace is either the 1st and the definitive e-book on VSTO 2005 programming, written by means of the inventors of the expertise. VSTO is a suite of instruments that permit specialist builders to exploit the complete strength of visible Studio .NET and the .NET Framework to place code at the back of Excel 2003, observe 2003, Outlook 2003, and InfoPath 2003. VSTO offers performance by no means sooner than on hand to the workplace developer: information binding and data/view separation, design-time perspectives of Excel and note files inside of visible Studio, wealthy aid for home windows kinds controls in a rfile, the facility to create customized workplace activity panes, server-side programming aid opposed to workplace, and lots more and plenty more.Carter and Lippert conceal their material with deft perception into the desires of .NET builders studying VSTO. This booklet * Explains the structure of Microsoft workplace programming and introduces the item types * Teaches the 3 simple styles of place of work suggestions: workplace automation executables, place of work add-ins, and code at the back of a rfile * Explores the methods of customizing Excel, notice, Outlook, and InfoPath, and plumbs the depths of programming with their occasions and item types * Introduces the VSTO programming version * Teaches how one can use home windows kinds in VSTO and the way to paintings with the activities Pane * Delves into VSTO info programming and server information situations * Explores .NET code protection and VSTO deploymentAdvanced fabric covers operating with XML in be aware and Excel, constructing COM add-ins for be aware and Excel, and developing Outlook add-ins with VSTO.

Show description

Read Online or Download Visual Studio Tools for Office: Using C# with Excel, Word, Outlook, and InfoPath PDF

Best .net books

ASP.NET 2.0 Illustrated

This ebook is an outstanding begin for somebody new to ASP. internet, in addition to an entire consultant to the recent positive aspects of model 2. zero for programmers accustomed to an prior model. the start chapters aspect thoughts utilizing a hypothetical corporation, reading the myriad varieties of requests and occasions frequently asked by way of consumers.

Essential ASP.NET 2.0

"No one is familiar with ASP. internet like Fritz Onion. And nobody is aware . internet safety like Keith Brown. mix the 2 and what do you get? the main complete and enlightening booklet on ASP. web 2. zero industrywide. i am definite you can find the booklet you are protecting used to be worthy each penny. - Aaron Skonnard, member of technical employees and cofounder, Pluralsight"Essential ASP.

Professional DotNetNuke Module Programming

Convinced, there's a few scope for development right here. however it is ridiculous to criticize the writer for now not making the publication longer. My cabinets are groaning lower than the burden of massive computing device books, bloated with details that's available in other places.

Instead of padding out his ebook, Mitchel tells you the place to get the data you need.

What Mitchel does offer, that i have not obvious at any place else (except his site), is an entire therapy of the internet program tasks (WAP) path to module improvement. WAP vs WSP is a type of silly spiritual wars.

What Mitchel does not say (but most likely may still) is that the choice site tasks (WSP)route won't get you the place you need to cross. He only observes that "there are how you can create compiled assemblies from WSP tasks yet they're very complicated to complete". yet, in case you have a posh module or suite of modules, you could easily be not able to collect them as a WSP. i've got learnt that the difficult way.

His e-book isn't just the simplest therapy of WAP improvement in DotNetNuke, however the just one. For that by myself it really is definitely worth the greenbacks.

.NET e-Business Architecture

This booklet is written for architects and builders getting ready to layout and construct enterprise-scale e-business purposes utilizing Microsoft's visible Studio. web and . web Framework. it's going to advisor technical architects and software program builders in the course of the layout and improvement of a fully-featured e-commerce software, the gasTIX on-line ticketing process, utilizing the .

Additional resources for Visual Studio Tools for Office: Using C# with Excel, Word, Outlook, and InfoPath

Example text

For example, when the user opens a Word document, both the Application object and the newly created Document object raise Open events. If you wanted to handle all Open events on all documents, you would handle the Open event on the Application object. If you had code associated with a particular document, you would handle the Open event on the corresponding Document object. In most of the Office object models, events are raised by a handful of objects. The only objects that raise events in the Word object model are Application, Document, and OLEControl.

A second reason why object models sometimes use a simple method such as this rather than a property is because some values exposed in an object model are "write-only"; that is, they can only be set but cannot be read. It is common to create a read-only property, but not common to create a write-only property. So when a write-only property is needed, a simple method is often used instead. Listing 1-13. "); Methods can have no parameters and a return type. Listing 1-14 shows an example of this kind of a method.

A number of Office PIAs are available. Table 1-4 lists some of the most common ones. dll PIA, which is where common types that are shared between the Office applications such as CommandBar are found. Table 1-4. dll Referencing the PIAs Adding a reference to a PIA is not necessary for most VSTO projects because the reference is automatically added for you. The console application examples in this book, such as the ones that automate Excel, can be typed into a Visual Studio console project and compiled, but you must first add a reference to the necessary PIA.

Download PDF sample

Rated 4.79 of 5 – based on 11 votes