M
melon
I am using the following to create a new Word document, where
TemplatePath is the .dot file. It works but the menu bar and tool bar
is missing.
ApplicationClass app = new ApplicationClass();
Document doc = app.Documents.Add(ref TemplatePath, ref
Missing, ref Missing, ref True);
doc.Activate();
If I use app.Documents.Open, then the menu bar and tool bars show up
as expected. Any clue?
TemplatePath is the .dot file. It works but the menu bar and tool bar
is missing.
ApplicationClass app = new ApplicationClass();
Document doc = app.Documents.Add(ref TemplatePath, ref
Missing, ref Missing, ref True);
doc.Activate();
If I use app.Documents.Open, then the menu bar and tool bars show up
as expected. Any clue?