Why can't Flash be displayed on Windows Service?

I am trying to solve a similar problem as described here - create a windows service to take snapshots with rich web pages (html + js + flash) and save them in a PDF file.

Firefox + cmdlnprint package did the trick . I wrote a simple program that runs as a service that calls Firefox to create a PDF. Everything seems to be fine, PDF is being generated, but Flash is completely missing. When it's not started as a service, though, Flash is just fine.

Can anyone shed some light on what is blocking Flash from rendering and if there is a workaround?

thanks!

+2


a source to share


1 answer


I can only shoot into the dark, but two things come to mind:

  • Who (which user) works for your service? What happens if you run the service as an administrator?

  • If your service is running on a local system account, did you enable the "Allow desktop to service communication" checkbox for the service (not sure what it is called in English)? You never know you might need Flash.



If that doesn't work, take a look at Crowbar and XULRunner ? I don't know exactly if they do what you want, and if they do, if Flash works with them, but they seem to fit in with what you are trying to do.

+1


a source







All Articles