Microsoft Office automation samples
Samples:
Generate MS Word form