I've got the C# code working. I'm using
Code: Select all
cdiNet.BatchConvert(filename);
When I want to run my code as a windows service or as a sceduled task without logging in as a human it doesn't work because the desktop isn't available.
I've tried to first open the document in Word (using automation af course) and next use the printout of Word but now I get an error:
Code: Select all
Printer not activated, error code -30
How should I use the pdf Converter to convert a doc file to a pdf without the need to be logged on.
Thanks
Paul