1. Home
  2. Computing & Technology
  3. Visual Basic

Chapter 13 - Microsoft Office Applications and Managing Processes - Part 1

By , About.com Guide

4 of 9

VSTO Code

The code for VSTO isn't inside the document as it would be using VBA. Instead, it's connected. This can be both good and bad (and this relationship is very likely to change in the next version). It's good because a Word document or an Excel spreadsheet on a user's desktop can use programs in an Assembly on a server somewhere else. This give the document or spreadsheet the advantages of client-server computing, such as upgrading all the desktops that use the assembly in one place. Microsoft also likes to point out that this makes the code "managed code" - that is, it's really IL (Intermediate Language) code that is managed by the .NET CLR (Common Language Runtime) and this protects your application from all kinds of problems, threats and potential errors. Managed Code is the future for Microsoft software.

A sign that Microsoft isn't really targeting VSTO for the mass market quite yet is that they aren't making it too easy or cheap to get and use. It's not a free download like the .NET SDK (a much, much more massive body of code). But it is available online for MSDN subscribers and it has been passed out free at a lot of Microsoft seminars for developers! If you decide to just buy it, the retail price is $200! - surely a disincentive to the casual looky-loo programmer. Finally, you need the latest version of .NET (Framework 1.1) and the latest version of Word or Excel to use it.

Explore Visual Basic
By Category
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Visual Basic
  4. Learn VB.NET
  5. Automating Microsoft Office Applications and Managing Processes - Part 1

©2009 About.com, a part of The New York Times Company.

All rights reserved.