Multiple-instances are two or more programs which share the same code and run at the same time
Questions tagged [multiple-instances]
1018 questions
3
votes
1 answer
How do I get more than one map on a single page?
I am going to need at least 3 maps on the same page (one below the other, not side by side), each containing multiple markers. Can anyone tell me how to get three versions of this on the same page (after which I can amend the details for each one)?…

Roger Golding
- 31
- 1
3
votes
5 answers
How can I start multiple Tornado Server instances in multiple ports
I need to start the blog demo in the following ports:
127.0.0.1:8000
127.0.0.1:8001
127.0.0.1:8002
127.0.0.1:8003
When I run the application using:
./demos/blog/blog.py
it starts in port 8888 as defined by:
define("port", default=8888, help="run on…
Seb
3
votes
1 answer
Xpath to check multiple empty children
With the following xml, I'm trying to return true or false depending on whether all elements are empty or not:
1
Test XML
…

Vincent
- 209
- 2
- 9
3
votes
1 answer
How to find out if an instance of my .app is already running or not?
My app is getting installed in the Application folder. But I can copy this .app file and paste it on my desktop. When I try to run this .app file on my desktop, two instances are running on my system. How do I prevent this?

Advaith
- 1,087
- 3
- 12
- 31
3
votes
2 answers
Open a new JFrame using a JButton issue
I'm creating a simple Task Manager, the issue I have is I want to open a new JFrame when I click the JButton. The window open's but the problem is multiple windows open. I have two classes App(Main) and NewTask. If someone could have a look at the…

user1857403
- 289
- 5
- 12
3
votes
4 answers
Android Multiple Instances
I am in a problem with the notifications in android, whenever I click the notification evrytime I have to call the same activity again, but as far as I am thinking the new activity is called but the previous is also running in the backend, due to…

Gaurav Arora
- 8,282
- 21
- 88
- 143
3
votes
4 answers
Limit no. of instances of a class in Java
I want to limit the no. of direct instance of a class( in Java) say to n, i.e. at any time, not more than n direct objects of the class exist in the memory. But there is no such limit on the no. of indirect objects, such as of any subclass of this…

Yudhister Satija
- 33
- 1
- 6
3
votes
2 answers
JQuery UI (effects core) addClass/removeClass on one element with multiple selectors...but there's a catch
Thanks for taking a look. I'm trying to used the jQ UI addClass / remove Class methods to expand an hr element upon clicking preceding sibling divs. jQ UI effects core enables smooth animated transition between two classes:…

Earl1234
- 37
- 7
3
votes
2 answers
Preventing multiple process instances of a single executable
I am using .NET with C#.
I want to prevent two instances of the same executable to run at the same time, but I don't want to prevent the same process that is run from another folder.
For example, I have an executable that is in two different…

Kornelije Petak
- 9,412
- 15
- 68
- 96
2
votes
1 answer
Multiple videos attached to a NetStream
After pulling my hair for some time and searching the internet, I came to the conclusion that Flash doesn't allow you to attach more than one Video to a NetStream object. That's a same since, I suspect, that would lower much resources consumption…

Bill Kotsias
- 3,258
- 6
- 33
- 60
2
votes
2 answers
How widely visible are various objects (shared class, module, etc) in VB.NET
I have a VB.NET application where various objects are going to access some common code, and I have some counters and values shared between all the calls, so I'm currently using a "Shared Class" (I'm aware classes can't be shared, per se, but all the…

SqlRyan
- 33,116
- 33
- 114
- 199
2
votes
3 answers
Ensuring only one instance of SWF open?
I need to make sure that only one instance of a SWF is open at any one time on a computer, whether it is in 2 browser windows, or two different browsers.
How can I go about doing it?
I have so far thought of two potential solutions:
1) Using a Flash…

futureelite7
- 11,462
- 10
- 53
- 87
2
votes
4 answers
Problems with running multiple instances of an application?
I have a client application (C++, Windows) that opens sockets, connects to a server, makes requests, receive responses and notifications. It does logging and saves preferences locally. What can be problems if I try to run multiple instances of this…

HS.
- 459
- 2
- 6
- 15
2
votes
4 answers
Can I execute multiple instances of a Java class file?
I am thinking of executing multiple instances of same java binary (a socket application) with different configuration files (As a command line parameter). Does the JVM correctly handles this situation? In other words If I haven't any common…

Chathuranga Chandrasekara
- 20,548
- 30
- 97
- 138
2
votes
1 answer
caching python class instances
I have a memory heavy class, say a type representing a high-resolution resource (ie: media, models, data, etc), that can be instantiated multiple times with identical parameters, such as same filename of the resource loaded multiple times.
I'd like…

eliangius
- 326
- 3
- 10