Tag Archives: Ms Word

How to insert a row in existing table using C# late bind

You may refer to this previous late-bind post on how to open a document
Continue reading “How to insert a row in existing table using C# late bind” »

Example code for MS Word search and replace using early binding in C#

Compared to late bind search and replace it is more straight forward. You just have to add a COM reference of your Microsoft Word Object Library
Continue reading “Example code for MS Word search and replace using early binding in C#” »

Example code for MS Word search and replace using late binding in C#

The main advantage of late binding is that code is more certain to be version-independent. As what i have read there are disadvantages of using late bind instead of early bind. The main reason why i decided to use late bind code instead of the early bind approach is that I am using Word 2007 while the client is using Word 2003.
Continue reading “Example code for MS Word search and replace using late binding in C#” »