Browse Through the available COM objects and Select Microsoft Office 11.0 Object Library & Microsoft Word 11.0 Object Library. This Word DLL has all the methods which we do to perform the word automation.
microsoft word 11.0 object library free download
I had a need to convert an RFT format to TXT. As I was looking for solutions, I had a hard time finding one that was free. So I decided to use Word Automation to accomplish my goals. Note that in this example I am using Office 2003. If you do not have Office 2003 this will still probably work except for the XML output since that is new to Word 2003. The sample program I have included in the download with the source code allows you to set an input file. This is loaded into the Word object. Then there is a ComboBox that contains a list of formats that you can convert to.
First, I create a new project within Visual Studio .NET andadd a reference to the Microsoft Word type library. I am using Microsoft Word2003, so the type library is Microsoft Word 11.0 Object Library. Once thereference is added, I can use the Word objects in the code. The VB.NET samplein Listing A opens an existing Worddocument from the local drive when the user clicks a button on the WindowsForm. 2ff7e9595c
Comments