×

Uh-oh, it looks like your Internet Explorer is out of date.

For a better shopping experience, please upgrade now.

VSTO for Mere Mortals: A VBA Developer's Guide to Microsoft Office Development Using Visual Studio 2005 Tools for Office
     

VSTO for Mere Mortals: A VBA Developer's Guide to Microsoft Office Development Using Visual Studio 2005 Tools for Office

4.0 2
by Kathleen McGrath, Paul Stubbs
 

See All Formats & Editions

VSTO for Mere Mortals™ is for VBA developers who are interested in migrating their skills to the next generation of Office development. Readers will benefit from a straightforward, practical introduction to writing managed code applications for Word 2003, Excel 2003, and Outlook 2003. Readers will also learn how to create add-ins for the most

Overview

VSTO for Mere Mortals™ is for VBA developers who are interested in migrating their skills to the next generation of Office development. Readers will benefit from a straightforward, practical introduction to writing managed code applications for Word 2003, Excel 2003, and Outlook 2003. Readers will also learn how to create add-ins for the most popular applications for Office 2003 and the 2007 Microsoft Office system using VSTO 2005 SE.

The expert authors provide a wealth of code samples that show off popular features of VSTO, such as smart tags and the actions pane. Sample code also shows you how to customize the new UI features of the 2007 Microsoft Office system, including the ribbon, custom task pane, and Outlook forms region.

 

VBA developers will walk away with

  • A greater understanding of managed code and the Visual Studio integrated development environment (IDE)
  • Multiple demonstrations on how to create document-level customizations for Word 2003 and Excel 2003, using view controls, data binding, and the actions pane
  • A comprehensive overview of add-in development for Outlook 2003
  • Useful information on securing and deploying solutions created with VSTO and VSTO 2005 SE
  • A thorough explanation on how to migrate VBA solutions to Visual Basic 2005 and VSTO
  • Numerous details on customizing the ribbon, custom task pane, and Outlook form regions by developing VSTO 2005 SE add-ins for the 2007 Microsoft Office system

Product Details

ISBN-13:
9780132701716
Publisher:
Pearson Education
Publication date:
12/29/2006
Series:
For Mere Mortals
Sold by:
Barnes & Noble
Format:
NOOK Book
Pages:
512
File size:
32 MB
Note:
This product may take a few minutes to download.

Read an Excerpt

The target audience for Visual Studio Tools for Office (VSTO) is the "professional developer." The term "professional developer" has several meanings, but the most agreed-upon definition we've heard is that it is someone who gets paid to write code. In other words, it's their primary job. It's not the departmental developer: the accountant who writes Excel macros as part of his accounting tasks or the word processing operator who customizes Word to increase her productivity. Instead, it is the .Net developer who might be interested in using Office as a development platform.

Prior to joining Microsoft, we both worked as VBA developers, customizing Office applications, and were very much interested in learning about managed code. We don't think that we are unique in that respect. There are millions of VBA developers today, many of whom are interested in learning about this next generation of Office development. Current books and documentation for VSTO are typically not written with the VBA developer in mind—it's assumed that the developer is familiar with Visual Studio, object-oriented programming, and the .NET Framework. The focus is (understandably) more on the features of VSTO, and how to work with the hefty Office object models.

We wanted to write a book for the VBA developer audience, and while you might not be familiar with .NET programming, this is where you have an advantage. You already are an Office developer who most likely has a lot of experience with manipulating the Office object models, as well as possessing power-user knowledge of the application. We can't think of a better environment to learn about managed code than within the context of something youare already familiar with: Office development.

VSTO brings Office development to the .NET world, and it has both disadvantages and advantages over using VBA. There are some amazing things you can do to customize Word, Excel. and Outlook with relative ease using VSTO (e.g., creating a customized task pane, adding smart tags to a document, and binding objects on a document to a data source). With the VSTO 2005 SE, you can create add-ins for six Office applications, customize the new ribbon UI feature of Microsoft Office 2007, and create application-level custom task panes.

We've had the advantage of working with the folks who designed, coded, tested, and documented VSTO, all of whom we have learned a great deal from. We've had an insider view of VSTO, and we hope to convey that information to you in an understandable and enjoyable manner.

Meet the Author

Kathleen McGrath is a programming writer at Microsoft. She has written documentation for Visual Studio 2005 Tools for the Microsoft Office System (VSTO), Visual Studio Tools for Applications (VSTA), and Visual Basic. Prior to joining Microsoft, she worked as a VBA developer customizing Word applications in the financial printing and legal industries. Kathleen has also created short video demonstrations of the features of VSTO and Visual Basic on her blog at http://blogs.msdn.com/kathleen.

Paul Stubbs works as a program manager with the Visual Studio Tools for Office (VSTO) team at Microsoft. In addition to VSTO, Paul works with the VSTA team developing a new managed code application programmability development tool for InfoPath 2007 and independent software vendors (ISVs). Paul has written for MSDN Magazine and has spoken at such events as TechEd and TechReady. Paul also participates in the developer community on the Microsoft forums and his blog at http://blogs.msdn.com/pstubbs.

Customer Reviews

Average Review:

Post to your social network

     

Most Helpful Customer Reviews

See all customer reviews

Visual Studio 2005 Tools for Office for Mere Mortals: A VBA Developer's Guide to Microsoft Office Development Using Visual Studio 2005 Tools for Offic 4 out of 5 based on 0 ratings. 2 reviews.
ChaosBDM More than 1 year ago
I have Visual Studio 2010 and 2013, so there are some incompatibilities with the source material contained within the book. There are also some code errors in the book. This is actually a good thing as I learned even more by debugging the incompatibilities and the source code. The information presented on the details of the Controls was informative. I recommend the book as the information about the IDE, Integrated Development Environment, was very helpful.
Guest More than 1 year ago
This book is part of the 'For Mere Mortals' series, which sounds like it was created by the publisher to compete with the popular Dummies and Idiots books. However, McGrath's efforts are not a trivial read. What she describes is a considerable effort by Microsoft to migrate the myriad VBA developers towards .NET and Visual Studio 2005 Tools. The emphasis is not on implementing abstractions like object oriented programming. Rather, it uses the reader's background in coding VBA and in MS Word and Excel. Nor are you expected to be proficient in database design or the intricacies of SQL Server. Much of the text is about front end material. Like using the conveniences of the VSTO user interface, with its many widgets and menus, to easily code. Many new features are available, compared to what you previously had under VBA. The most striking example is now the nifty ability to have a data island. Imagine an Excel spreadsheet on one machine. That loads from a database on another. If the first machine is your laptop, and you take it somewhere isolated from the network, what happens to your data? Well, there is now a means of copying that data, while you're still connected, into a data cache on the laptop. Without having to go to the extent of running a full database on the laptop.