I am trying to follow a Microsoft "How to" document entitled "HOW TO: Automate Word from Visual Basic .NET to Create a New Document". The code they provide is at the following url: http://support.microsoft.com/default.aspx?scid=kb;EN-US;316383
When I try to run this I get the following error message:
An unhandled exception of type 'System.Exception' occurred in microsoft.visualbasic.dll
Additional information: Cannot create ActiveX component.
The "How to" document wants me to add a reference to the "Microsoft Word 10.0 Object Library" but all I have is "Microsoft Word 9.0 Object Library".
I'm looking for something to help rid me of this error message.