C# and VB smaples to process Word tasks