Word.ApplicationClass oWordApplic = new Word.ApplicationClass(); object missing = System.Reflection.Missing.Value; Word.Document oDoc = oWordApplic.Documents.Add(ref missing, ref missing,ref missing, ref missing); oDoc.Activate(); oWordApplic.Selection.TypeText("test"); oWordApplic.Application.Quit(ref missing, ref missing, ref missing);
debug = "true"
debug = "false"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)