G
Guest
I'm using the following code to create word document but the problem is if
you go to task manager you'll see a WINWORD.EXE process is running but not
the application, here is the code:
Word.Document aDoc= WordApp.Documents.Add(ref fileName, ref newTemplate, ref
docType, ref isVisible);
WordApp.Visible = true;
aDoc.Activate();
WordApp.Selection.TypeText("Hello");
WordApp.Selection.ParagraphFormat.Alignment =
Word.WdParagraphAlignment.wdAlignParagraphCenter;
WordApp.Selection.Font.Bold = (int)Word.WdConstants.wdToggle;
any suggestions
thanks
you go to task manager you'll see a WINWORD.EXE process is running but not
the application, here is the code:
Word.Document aDoc= WordApp.Documents.Add(ref fileName, ref newTemplate, ref
docType, ref isVisible);
WordApp.Visible = true;
aDoc.Activate();
WordApp.Selection.TypeText("Hello");
WordApp.Selection.ParagraphFormat.Alignment =
Word.WdParagraphAlignment.wdAlignParagraphCenter;
WordApp.Selection.Font.Bold = (int)Word.WdConstants.wdToggle;
any suggestions
thanks