Visual C. Sign in to vote. I have a windows application which keeps on running in background even after closing. I found this when I ran the application for times and closed it every time but when I visited "Processes" tab under Task Manager I found 5 instances of the application still running even after 30 minutes of closing all the application.
Can any one provide solution about how do I close the application completely? Thursday, September 29, PM. You can call Application. Exit when you want to close down your application. But what should be done when the user close the application by Clicking the Close button next to the Maximize button on the title bar? It won't always be done. It depends on how your program is written.
EDIT : It doesn't worked because i wasn't in the directory of my process that need a file which pathfile is not set. Improve this question. Thibault Loison Thibault Loison 2 2 gold badges 6 6 silver badges 15 15 bronze badges. It doesn't work, my process stop right away Nevermind it doesn't worked because I wasn't in the directory and my process can't start correctly because he have a default argument that must be changed if i'm not in the directory.
Add a comment. Active Oldest Votes. Improve this answer. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. CBHacking , all good points and I am aware of the potential drawbacks.
However, the OP worded his question rather carefully to avoid revealing any details regarding exactly what they were trying to run, so I made this suggestion and awaited their feedback to see if any adjustments were necessary. Agreed with Run5k on this one. A program with special purpose should be able to run under system just fine. Go to the Shortcut tab of the window that opens if you didn't start there. One of the options will be Run: with a drop-down next to it probably saying Normal window.
Change the drop-down to Minimized. The app was stated to run "in the background" if minimized, with a request that it "run in the background" from launch. Shell" WShell. FrankyHollywood FrankyHollywood 3 3 bronze badges. Scott Feliks Feliks 21 1 1 bronze badge. Didn't work for me. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Helping communities build their own LTE networks.
Podcast Making Agile work for data science.
0コメント