F
Frank Perry
Howdy,
I am not able to get Word to do the SaveAs function under a specific set of
conditions. I have a program the uses automation to read in a document and
save it. This works fine as long as one of the following is true:
1 The program is started by the user.
2 Word is already running.
3 The user has admin rights.
The problem comes up because I have a serivce that allows other programs to
start the program. The service uses CreateProcessAsUser to start the
program. That is #1 is not true. If that happens and both 2 and 3 are not
true, my program can perform the CreateDispatch and open the file but the
file cannot be saved. As long as the copy of Word started from the
CreateDispatch is running, openning a any other document, e.g. from Explorer,
also will not save.
I use the same approach on Acrobat and am able to save files as .PDF. It is
only Word that balks.
Any ideas?
I am not able to get Word to do the SaveAs function under a specific set of
conditions. I have a program the uses automation to read in a document and
save it. This works fine as long as one of the following is true:
1 The program is started by the user.
2 Word is already running.
3 The user has admin rights.
The problem comes up because I have a serivce that allows other programs to
start the program. The service uses CreateProcessAsUser to start the
program. That is #1 is not true. If that happens and both 2 and 3 are not
true, my program can perform the CreateDispatch and open the file but the
file cannot be saved. As long as the copy of Word started from the
CreateDispatch is running, openning a any other document, e.g. from Explorer,
also will not save.
I use the same approach on Acrobat and am able to save files as .PDF. It is
only Word that balks.
Any ideas?