• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 431
  • Last Modified:

Run wpf app when logged off issue

I have a wpf app that I want to run on a server even when it is logged off (Windows 7). To get round this I ran my .wpf exe file via a scheduled task and ticked the tickbox "run even when logged off" and this works fine. The problem I have now though when I log back on the server even thought the app is running I can't actually see it which means I cannot use my apps GUI interface to change the apps settings. Is there any way that I can have my exe run when user is logged off but also be visible when a user logs back on?
0
exact1
Asked:
exact1
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
No there isn't what you should do is separate your app into an interactive GUI element and a service element.. the service keeps running and you can use the gui to then interact with it when wanted.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now