Category Archives: DotNET

Useful code snippets in the .NET Framework.

More Ways To Open A Doc

As the Perl guys like to say and what I tell my girlfriend, there is more than one way to do it. This is also true for a simple task such as opening a Word document using Visual Basic script. The following code opens a MS Word document: Sub OpenWord(fileName) Set Word = WScript.CreateObject("Word.Application") Word.Visible = [...]

Also posted in TechKnow | Leave a comment

Word Mail Merge

“Learn something new every day.” That is my personal motto and I really feel that everyday I learn something new. Well, the other day I learned about MS Word’s Mail Merge capabilities. Word’s Mail Merge feature allows you to define a Word document template to be used for every row in a data source file. [...]

Also posted in TechKnow, Visual Basic | 1 Comment