MSWord opens docs as Read Only?

F

Frank Perry

Howdy,

I'm using CreateDispatch to start MSWord. I open an existing document and
do a SaveAs to change the format. This process works fine any one of the
following is true:
1 My program was started in the usual way.
2 MSWord is already open.
3 The user has local admin rights.

But part of the overall process is to have another program make a call to a
system service that uses CreateProcessAsUser to start my program. When the
program starts from the service and MSWord is not open and the user doesn't
have admin rights, MSWord starts and opens the file but the top bar lists the
file as (read only) and it will not save.

Interrupting the process and going to the MSWord menus, the Save and SaveAs
options don't work. SaveAs doesn't even bring up a dialog. As long as that
instance of MSWord is running, MSWord will not save any files.

As an aside, the same proceedure works for Acrobat. So, if it's a
priviledge issue it isn't felt by Acrobat.

Does anyone have an idea what's going on?
 
S

scw-tzg

I haven't run into this specific problem, but I've seen so many others
relating to privileges when automating Word...

Have you considered the DCOM Config settings for the MS Word Document object
- specifically the Identity and under whose user account Word runs?

Hope this leads you towards an answer.
Susan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top