Knowledgebase: Developer
Using Win2PDF and Word from a Windows service
Posted by admin admin on 21 November 2006 02:58 PM
Problem:
I have a Visual Basic 6 application that runs in the background to print MS Word documents to Win2PDF. When the program is run interactively it works fine, but when it is scheduled as a service under an account with Network and Administrator access, it hangs on the objWord.Application.PrintOut command where objWord points to the Word.Application object. How do I using Win2PDF with MS Word when run from a service?

Solution:
Microsoft Knowledgebase article Q257757 "INFO: Considerations for Server-Side Automation of Office" describes several known problems with Microsoft Office applications when run from a service, and documents some solutions for avoiding the problems.
http://support.microsoft.com/?kbid=257757
(0 vote(s))
Helpful
Not helpful

Comments (0)

Copyright 2000-2018 © Dane Prairie Systems LLC. All Rights Reserved. About Us | Privacy Policy | PDF Blog | Site Map