Multiple-instances are two or more programs which share the same code and run at the same time
Questions tagged [multiple-instances]
1018 questions
2
votes
1 answer
Multiple Instance with GetX tag not working in flutter
Ive been working on a multiple instance project. so i tried doing this in the counter app.
but only first instance is updating. below is my all code.
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key});
@override
…

Muhammed Jasir
- 65
- 5
2
votes
2 answers
how to detect all sql server instances from studio?
There are multiple instances of SQL Server 2005 installed on a box. Is there a T-SQL query I can run from Studio that will detect these other instances and their names?

Oliver
- 668
- 2
- 7
- 19
2
votes
1 answer
VBA and collection - need set a instance to nothing before add to collection?
I'm trying to add an object twice with modified values for a collection but at the end of the collection contains the same values for the two items. Where am I wrong?
Private Sub MySub()
Dim ClientList As Collection
Set ClientList = New…

Davis
- 21
- 2
2
votes
0 answers
Efficient way to handle 429 error while processing request in batches on multiple instances
I have batches of 500 messages. And to send them I am using the external API which allows sending only 1 message at a time. Also, they have a rate limit of 10/seconds.
If there is a single instance then I can handle the rate limit by adding a delay…

Gaurang Delvadiya
- 107
- 5
2
votes
1 answer
Angular – Dynamically load multiple instances of the same component by submitting a form to add a new instance of a component to the display
Question update link.
Problem
I’m trying to dynamically load multiple instances of the same component, with a new component being added/loaded to the screen when a user submits a form. The idea behind this is that a user can provide details on the…

SneakyShrike
- 723
- 1
- 10
- 31
2
votes
2 answers
In javascript how I run a function on multiple divs with the same class to get different results
I'm trying to run the same function on different divs with the same class. The thing is that I need the function to use offsetTop of each container and every div has a different value. The divs have the same class because I don't know how many divs…

oreb85
- 57
- 1
- 5
2
votes
1 answer
Android multiple instances of Activity
I'm having a problem where multiple instances of an activity are present in the backstack.
e.g.
Stack: A > B > C
Press home and use some other apps then relaunch my app
Stack: A > B > C > A
I would expect my app to resume with activity C, which in…

user648462
- 645
- 9
- 23
2
votes
2 answers
Running several instances of Netbeans RCP application simultaneously
We have an application based on the netbeans rich client platform.
Default behaviour is that only one instance of the software can run, and this can be overridden by specifying a different user-dir as argument when starting the application.
Are…

Brimstedt
- 3,020
- 22
- 32
2
votes
3 answers
How to sync an application state over multiple iphones in the same network?
I am developing an iPhone application that allows to basically click through a series of actions. These series are predefined and synced with a common configuration server.
That app might be running on multiple devices at the same time. All devices…

Berdir
- 6,881
- 2
- 26
- 38
2
votes
2 answers
Multiple receivers for messages (database field)
i want to let users send each other messages,
For now this is the current schema
CREATE TABLE IF NOT EXISTS `inbox` (
`id` int(11) NOT NULL auto_increment,
`id_usuario` int(11) NOT NULL,
`id_to` int(11) NOT NULL,
`mensaje` varchar(250)…

Toni Michel Caubet
- 19,333
- 56
- 202
- 378
2
votes
1 answer
How to remove wrapped/custom event handler added from an instance of a class VB.NET
I need to create multiple instance of zkemkeeper.CZKEM to create active (250+) connections to multiple biometrics devices with events at a time. I created a class to do my desired output:
Public Class ZKEMEventsClass
Public CZKEM2 As New…

NickNok_27
- 25
- 6
2
votes
1 answer
How to instantiate multiple threads using the same function C++
Here is function execute(), used for some instructions:
void execute() {
while (run) { //thread is running
if (time % 3 == 0) { // execute instructions when clock is 3
Instruct Instr;
uint16_t src1 = 0;
uint16_t src2 =…

Flave
- 77
- 1
- 10
2
votes
0 answers
Opening multiple instances of the same dialog programatically in PrimeFaces
Title says it all.
Can I invoke method like:
void myMethod()
{
PrimeFaces.current().dialog().openDynamic("objectInfoPage");
}
so each time I do this, new dialog will appear ?
Right now I have to close previous instance in order open new one.

zajer
- 649
- 6
- 17
2
votes
1 answer
JAVAFX: Prevent user from opening new window untill he closes the first one
I have two seperate Controllers and FXML-files. In the first controller you control the main window, here you can press a button and open a new Window.
I want to prevent the user from opening as many windows as he wants. He should only be able to…

Lukas Méndez Duus
- 406
- 5
- 17
2
votes
4 answers
Make a Single Capturing Lambda
This is obviously a toy example, but lets say I have a n functions like this:
void one(const int param) {
const auto func = [=](){ return 13 == param; };
}
void two(const int param) {
const auto func = [=](){ return 13 == param; };
}
And…

Jonathan Mee
- 37,899
- 23
- 129
- 288