المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Word automation question



C++ Programming
08-13-2009, 07:00 PM
I create an instance of Word by
app.CreateDispatch("Word.Application");


In task manager I can see this has started winword.exe with these command arguments:
WINWORD /Automation -Embedding

But I want it to start with
WINWORD /a /Automation -Embedding

Is there any way to make CreateDispatch start word with: "WINWORD /a /Automation -Embedding" ?

There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal