Solved

Run wpf app when logged off issue

Posted on 2013-06-21
1
397 Views
Last Modified: 2013-06-24
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
Comment
Question by:exact1
1 Comment
 
LVL 79

Accepted Solution

by:
David Johnson, CD, MVP earned 290 total points
ID: 39267809
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now