Multiple-instances are two or more programs which share the same code and run at the same time
Questions tagged [multiple-instances]
1018 questions
-1
votes
1 answer
How to have a button do a series of different events VB.net
I am making an "add line" button in VB.net. I need this button to show things in a sequential order, much like animation events in a power point slide show, but I have no idea how to have a button execute different code depending on which click it…

Cheddar
- 530
- 4
- 30
-1
votes
1 answer
How to assign random priorities to multiple instances of c++ class?
I am writing a network program in c++. I have to assign priority for more than 2 instances of sender class. But I am unable to create the logic of this problem. One of the instance of class should be selected randomly. How can we do that?

ZAC
- 1
-1
votes
1 answer
Calling another method java GUI
I'm trying to make a GUI, and I can accomplish it all in one method, but I would like to make the code simpler and make multiple methods. However, I can't get it to work. I am new to Java programming.
public class Main {
public static void…

user3150314
- 7
- 2
-1
votes
1 answer
multiple instances of the same sound on iOS
i'm making a bubble popping game and hit a bit of a snag :/
i have a sound (pop.mp3), this sound needs to play EVERY time one of the bubbles are tapped
all the bubbles are buttons that call the same method (-(IBACTION)bubblePop)
i initialised an…

Jamie McAllister
- 729
- 2
- 11
- 33
-1
votes
1 answer
Duplicates in JSP's include directive
This code is not real, but is simpler and show the problem
Suppose that I have First File named
Base.jsp
<%!
class Base {
public String Parm0 = "";
public String Parm1 = "";
Base () {
PrintMessage("Base Created!!");
}
}
…
user1410223
-1
votes
3 answers
Fetch multiple rows with MySQL and PHP
If I have a MySQL query that looks like this:
SELECT Content FROM AP_Data WHERE Title='Featured' or Title='Carousel'
Is it possible to use PHP to then turn the variables into something like
echo $Row['Featured']['Content'];
echo…

Blease
- 1,380
- 4
- 38
- 64
-1
votes
3 answers
Using stream reader to catch values returned by sql statemtnt c#
guys i have an SQL statement returning more than 1 value.
I am trying to use the StreamReader to get the values into an array as below
string sql = "select distinct COLUMN_NAME from INFORMATION_SCHEMA.KEY_COLUMN_USAGE where TABLE_NAME=' " + table +…

Anoushka Seechurn
- 2,166
- 7
- 35
- 52
-1
votes
1 answer
Multiple image change throughout document on click
I have a website I'm building that uses background images to display the pictures i want in the divs via CSS
I want to create a single image, that when pressed "ON", toggles different background images for different classes. I would also like this…

Matakus
- 1
-1
votes
3 answers
Toggle only one dropdown from multiple with same class
I found a nice script for dropdowns. The thing is, I'm trying to have multiple dropdowns on the same page, but use the same class so I don't have to duplicate the styles.
The script is form…

elmediano
- 111
- 1
- 3
- 12
-2
votes
1 answer
How to Deserialize a string which contains multiple object of same type in appended format [C#]
Let's say I have an Employee class.
Employee
{
string Name;
int Age
}
My string contains the data of different company's employee in a string. I want deserialize it as List of Company Info. I have Company Class. Is there any solution which…
-2
votes
1 answer
Let all instances of object call method at same time (java)
So I have a superclass called Tile and many subclasses like BlueTile, GreenTile etc..
All instances of the different subclasses are stored in an ArrayList (eg. (blueTile1, blueTile2, greenTile1....)).
There is a method called "activateTile()" in the…

Steffi
- 1
-2
votes
1 answer
Multiple connection strings running one by one c#
guys, I'm pretty new, actually a beginner in coding and I got a project from my boss for an app that's gonna access a client's database and send mail with the past activity executing a stored procedure. I've done the application, but now I have a…
-2
votes
1 answer
How to create two instances of same java class running in same process?
I am learning Java Process and I am trying to create two instances of same java class running in same process which is a requirement.
class Chat {
public void getMessage() { * * * some implementation
}
}
class ProcessMain {
public…

Sujatha Rajesh
- 79
- 1
- 2
- 8
-2
votes
1 answer
Multiple Monthly Statements within Monthly billing cycle
Each department is supposed to have only one statement per monthly billing cycle.
My goal is to figure out how many departments have been hit with more than one billing statement within the same billing cycle.
CONTEXT:
My current query is set to…

JDoc
- 41
- 3
-2
votes
1 answer
Multiple concurrent instances of the ASP.net page to be treated separately
I'm new to ASP.net. I've got an ASP.net application which updates data in Dynamics CRM, on the click of the button on the ASP.net page. When single instance of the application is running it's working as expected and updating the relevant CRM record…

Raghu
- 151
- 1
- 13