Dim Wrd As New Microsoft.Office.Interop.Word.Application
Dim DocName As String = "MyWord.doc"
Wrd.Application.Visible = False
Wrd.Documents.Add()
With Wrd
.Selection.TypeText("Welcome To www.ThaiCreate.Com")
End With
Wrd.ActiveDocument.SaveAs("C:\" & DocName)
Wrd.Application.Quit()
Wrd = Nothing