An instance is a specific realization of any object.
Questions tagged [instances]
516 questions
0
votes
3 answers
how to reach to the instance name of a class?
I am a quit new python programer and just for curiosity I want to know how I can reach to the name of instance which is made in the body of main,in the methods of my class . I want to know whether there is a built-in method for classes or I should…

msc87
- 943
- 3
- 17
- 39
0
votes
1 answer
How to add an object from a class to an instantiated window?
I've got a fairly simple C# / WPF question. My skills in C# / WPF are not that good so I do apologize if the answer is already out there but I wasn't smart enough to see it.
I've got a main window which I instantiated from my App.xaml.cs
internal…

Wouter Verheyen
- 33
- 7
0
votes
1 answer
How can I avoid decreases in framerate in a game with a lot of instances of an object class?
I'm writing a game that requires a large amount of instances of a "Monster" class that contains very basic data - namely:
Angle of rotation
Damage potential
Max health
Current Health
And that's about it. The game starts out smoothly at 60 fps but…

Kai Banks
- 5
- 3
0
votes
2 answers
Passing an instance of a class into another java file
Sorry if this is a stupid question but I'm a little stuck on an issue!
Basically: if i have 3 ".java" files i.e "main.java" , "implement.java" and "class.java"
in class.java I have created a public class
i.e:
public class Inbox {
int Letters;
…
0
votes
1 answer
Kill html5 video instance in Firefox
I have a page where multiple number of html5 videos embedded on in different tabs structure.
FF plays ogg format and it seems to have different way of loading these videos. Each videos have autoplay set to on and they play upon click of each tab.…

Still Questioning
- 670
- 2
- 7
- 23
0
votes
2 answers
in CalendarContracts.Instances, determine if original event is recurring
A query of CalendarContracts.Instances comes back with all recurring events expanded to individual instance "placeholders". How can I tell which rows represent placeholders and which ones are unique, single events?

Peri Hartman
- 19,314
- 18
- 55
- 101
0
votes
2 answers
SQL Server - Exec sql statement across all database in all instances
While ago I asked a question about how to execute dynamic SQL statement across all database in a specific instances. The answer was to use sp_MSForEachDB.
Now, I am facing another issue and need to executed the statement across all database in all…

gotqn
- 42,737
- 46
- 157
- 243
0
votes
4 answers
Sending information to a textbox from a class to a form
I asked a question a couple of days ago about populating a listbox on a form from a class. It works and was great! However I now want to do the same with a textbox or a label. The answer from that question is below:
What you are doing is creating a…

Marshal
- 1,177
- 4
- 18
- 30
0
votes
1 answer
jQuery countdown plugin multiple instances not working
i have problem with my script using jquery.countdown.js plugin, it doesn't sets multiple instances for each element i pass it to, it always sets the first instance for all, so countdowns are always the same.
link to plugin :…

itsme
- 48,972
- 96
- 224
- 345
0
votes
1 answer
Data from multiple SQl Server Instances to a Central SQL Server for reporting purposes
I have multiple (more then 20 locations having 10 Million Transactions/Year) locations with SQL server instances.
I need to move all these transactions (having independent identity on each site) from multiple sites to a Main SQL Instance in head…

Born In Aban
- 160
- 1
- 2
- 9
0
votes
2 answers
How can I access my Activity's instance variables from within an AlertDialog's onClickListener?
Here's a very simplified version of my Activity:
public class Search extends Activity {
//I need to access this.
public SearchResultsAdapter objAdapter;
public boolean onOptionsItemSelected(MenuItem itmMenuitem) {
if…

Mridang Agarwalla
- 43,201
- 71
- 221
- 382
0
votes
2 answers
How to properly connect classes (Stack overflow in constructors)
I'm relatively new to Java and I'm coding extensions/plugins for online game Minecraft.
I've recently started "bigger" projects which require more classes to preserve neatness.
I am still trying to fully understand how constructors work, but most…

ShiiNko
- 25
- 2
- 8
0
votes
1 answer
Classes and Instances in C++/CLI
I have been using C#.net for a very long time, recently I decided that it would be beneficial to switch to C++/CLI. So, I decided to get a converter and convert one of my larger projects to C++/CLI, I found a pretty good converter, there was just a…

Carsen Daniel Yates
- 1,962
- 1
- 11
- 16
0
votes
3 answers
Multiple Instances on Back pressed
I have an audio player which has two main activities.
1.The splash Activity for loading splash page and another for the player.When I press the back button and select my app from the launcher multiple instances of the activities are…

maddy.999
- 13
- 6
0
votes
2 answers
Creating a new instance of form1 and change that forms property
In my current project, I am making a sticky-note type application in which the user can have multiple instances open of the same form. However, I was wondering if there was a way in C# where I can create a new instance of form1 however have the new…

Vlad781
- 37
- 1
- 2
- 7