Quantcast
Channel: Windows Desktop Development for Accessibility and Automation forum
Viewing all articles
Browse latest Browse all 585

Question about UI Automation and Windows Service

$
0
0

Hi, I have a cmd line .NET app that uses UI Automation.  I then wrapped it as a service using the TopShelf utility: https://github.com/Topshelf/Topshelf -- this simply makes it a bit easier to wrap the command as a windows service.

If I run the app as a cmd line program, it works fine.  

If I run it as a service, however, it doesn't seem to work -- getting logging out of the service is a bit tougher to achieve, but I figured I'd just ask briefly if anyone knows if there is any problem running UI Automation code (using .NET API in C#) while running as a service.  I've tried running as Local System, Local Service -- both seem to behave the same.

Thanks in advance


Viewing all articles
Browse latest Browse all 585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>