65.9K
CodeProject is changing. Read more.
Home

Writing a Word Add-In - Part 0

starIconstarIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIcon

2.15/5 (14 votes)

Jan 11, 2005

3 min read

viewsIcon

40011

Learn to write an add-in in C# that does everything a regular C# program does.

Introduction

I first wrote the article in Part I. But after writing it, based on some questions and some further information I have come across, I realized that there really needed to be a precursor article. So here is the information I wished I had started with.

One other note. If you are going to write an Add-In, it’s not a trivial task. While very little of it is difficult, there is a lot to learn. And throwing one together quickly without understanding the entire framework is an invitation to disaster. You have to learn this stuff to write an Add-In correctly. (I think in some respects writing an Add-In requires a better understanding of its framework than writing a standard Windows application.)

Books

The first two books are where you should start. Both are very well written and give you a very comprehensive guide to writing a Word Add-In. I wish I had known about these before I started – they would have saved me weeks of time and anguish. The additional books are very useful for specific needs.

  • Microsoft .NET Development for Microsoft Office – Andrew Whitechapel.
  • Developing Microsoft Office Solutions – Keb Bluttman.
  • Office 2003 XML – Evan Lenz, Mary McRae, & Simon Laurent.

    This primarily covers the new XML file formats for the Office applications. It does an excellent job of explaining WordML and a good job of explaining the other formats. If you need to understand the Office XML formats, start with this book.

  • Microsoft Excel 97 Developer’s Kit – Baarns Consulting Group.

    This includes among other things, the XLS file format. If you need to read or write XLS directly, this is your only source.

Web links

Copyright © 2005 by David Thielen – All Rights Reserved.

This article may be freely copied as long as it is copied in its entirety.