Solved

Run wpf app when logged off issue

Posted on 2013-06-21
1
407 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 80

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
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 …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

856 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