shell cmd 4 word document stored in sharepoint team services

E

Ertan Sekmen

I created a trigger which runs winword.exe and opens a word document in
sharepoint team services portal as fallows :

exec master..xp_cmdshell '"C:\...\WINWORD.EXE " http://.../me.doc', NO_OUTPUT

when I open task manager on SQL server, winword.exe appears running,
probably waiting for some kind of user interaction. As long as I'm using WSS
portal, I think winword is trying to verify if I want to open the document in
read only mode or not.

Is there a way to learn why the application stops like this(I also have a
macro in document event sub, that prints the document) or is there a way to
force winword opening the document in read only mode or bypassing dialogs?

I look for switches but didn't find anything usefull.

thanks in advance,
ertan
 

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