SonghaySystem(::)

A .NET Assembly Linker for Microsoft Word 2003 Documents

VSTO Assembly Linker

VSTO Assembly Linker is a little utility that links Microsoft Office Word Documents to Visual Studio Tools for Office 2003 assemblies. This tool is essentially a .NET UI wrapper for the OfficeToolkit.Persistence ActiveX object. Download links are shown below.

The VSTO Assembly Linker allows Office “power users” to limit the surface area of Office Application exposed to .NET assemblies down to the document level. This visual interface is an option to those not fond of the command line and provides easy-to-understand visuals for documenting policies and procedures related to Microsoft Office System applications in the enterprise.

User Interface

The user interface (below) displays the four-step process involved in linking a VSTO Assembly:

VSTO Assembly Linker UI

Select VSTO Assembly… This command is used to specify the VSTO assembly to connect to an Office Word Document. The location to the assembly can be a Windows path, a URL or a UNC. To select local Windows paths click on the icon on the left or the ellipses button next to the first text box. A note to administrators: you may need to review the Code Access Security policy of the VSTO assembly with CASPOL.EXE. Please see “Selected Links to Resources” at the bottom of this document for more information.

Enter VSTO Assembly Name… This value is automatically entered when a local assembly is selected through the interface in the first step. In the case of remote assemblies, the name must be manually entered. This value corresponds to the AssemblyName.Name property and is usually the filename prefix of the assembly.

Select Office Word Document… This command is used to specify the Office Word document to link to. Note that this document can be in DOC or XML format. To select local Windows paths click on the icon on the right or the ellipses button next to the last text box.

To link the document, click on the Link! button in the middle of the form.

Known Issues

Future Enhancements

Selected Links to Resources

VSTO Assembly Linker (Setup Archive) Download the VSTO Assembly Linker ZIP with Setup.exe. (Includes source code.)
VSTO Assembly Linker (Single Installer File) Download the VSTO Assembly Linker MSI. (Includes source code.)
How to: Link an Assembly to a Word or Excel File This article introduces the OfficeToolkit.Persistence ActiveX object.
Persistence Control Methods Details the members of the unmanaged Persistence Control.
Dsofile.dll lets you edit Office document properties without Office in Visual Basic .NET 2003 and in Visual Basic .NET 2002 This ActiveX object is used to read the properties of Office Documents. It can also write these properties as well.
How to: Grant Permissions to Folders and Assemblies Covers security issues with VSTO assemblies.
Getting started with setup projects Hey! It can’t hurt to review “the basics.”
A re-usable ‘about’ box for C# applications This article caused a generic About… box to be shared among all Songhay System Windows Forms projects.
 
This document was last reviewed on Thursday, February 09, 2006 at 03:46 PM PST.
Copyright© 2008 by Bryan D. Wilhite All rights reserved. No part of this material may be used or reproduced in any form or by any means, or stored in a database or retrieval system, without prior written permission of the publisher except in the case of brief quotations embodied in critical articles and reviews. Making copies of any part of this material for any purpose other than your own personal use is a violation of United States copyright laws.

The information provided by Bryan D. Wilhite at kintespace.com is provided “as is” without warranty of any kind. In no event shall Bryan D. Wilhite or any of his affiliates be liable for any damages whatsoever including, but not limited to, direct, indirect, incidental, consequential, loss of business profits or special damages due to material published by Bryan D. Wilhite or any of his affiliates.