single-instance Questions
8
Solved
I want to prevent multiple instances of application being launched in java. I know 2 methods for this:
locking file
locking socket
But which is one is more efficient and good to use? Which one...
Circulate asked 26/5, 2011 at 6:42
3
Solved
I have seen at least three distinct methods on StackOverflow for achieving this.
Using a MUTEX: Accepted answer to this SO question
Using the Microsoft.VisualBasic library's WindowsFormsApp...
Serpasil asked 31/12, 2012 at 18:32
4
Solved
I need to have a single instance application (as per this answer), but it needs to be deployed via click once.
The problem is that I require that click once doesn't automatically detect an update ...
Funambulist asked 29/10, 2008 at 22:56
3
Solved
I have read that DbContext object should be created as InstancePerHttpRequest, not SingleInstance, because of its thread-unsafe nature and it might consume too much resource between requets which m...
Quillen asked 31/8, 2012 at 0:29
1
Solved
I need only one instance of my app in android. If I run my app after installation and go to Home screen, and again run my app (click on app's icon), second instance is opened, I need to open alread...
Gantz asked 27/2, 2012 at 15:43
1
I've an design issue in implementing different types of launchmode for different activities. I've 5 Activities.
VideoList
VideoDetail
FavoritesList
VideoSearch
VideoPlayer
When the user starts ...
Sullivan asked 22/2, 2010 at 5:11
2
Solved
I need to force my Java application to run with a single instance. I found on this link this very nice piece of code that solve the problem using socket instead of using the file system.
here the ...
Mireille asked 13/9, 2011 at 6:38
4
Solved
Possible Duplicate:
What is the correct way to create a single instance application?
How can I check if my application is already open? If my application is already running, I want to...
Topper asked 24/8, 2011 at 22:12
2
I'd like only a single instance of my Java Swing application to run at a time. If a second instance is opened, I would like it to pass its arguments to the instance already running. How can I do th...
Nobile asked 3/8, 2011 at 13:50
3
Solved
I have an application that needs to be a single-instance app across all user sessions on a Windows PC. My research thus far has centered around using a mutex to accomplish this, but I am having an ...
Halfwitted asked 25/1, 2011 at 23:20
2
I'd like Activities on my application's Activity stack to only have one instance. I have several screens which are ListActivities and I'd like to not go through the pain and suffering of updating t...
Roe asked 29/7, 2010 at 21:11
4
Solved
I have a windows form application that uses a Shared class to house all of the common objects for the application. The settings class has a collection of objects that do things periodically, and th...
Filter asked 7/11, 2008 at 21:6
© 2022 - 2024 — McMap. All rights reserved.