Word Interop Not Working In A Scheduled Task

前端 未结 2 865
长发绾君心
长发绾君心 2021-02-06 05:11

I\'m currently developing a script that takes a Word document, opens it up in Word, and then prints the Word file as a PDF. Everything works great when run manually either on my

2条回答
  •  孤独总比滥情好
    2021-02-06 05:46

    I believe that many people have tried to do something close to what you are attempting and failed. There is a lot of chatter about not being able to run any office interop based solutions in a server-like mode (unattended etc).

    See here and here

    I know this is probably not the answer you were looking for but it is nevertheless how it is!

提交回复
热议问题