« first day (75 days earlier)      last day (2625 days later) » 

1:04 AM
0
Q: C# Simplify Code -- For Each Loop

user2437909I am hoping someone can help me simplify the following block of code (I am an amateur developer). I am trying to return a value (a.tnAddress) from a custom class based on a lookup (foreach loop). Depending on the type of transaction, I will need to do the foreach loop based on different prope...

0
Q: Waiting until all images are loaded with JavaScript

DoorknobHere is my code for preloading the images for my game: // ===== PRELOADING ===== // // first, make the images array var images = { player: mkimg('images/player.png'), ... // omitted for brevity }, imagesLoaded = true // then, wait until all the images are loaded before starting the game ...

 
 
1 hour later…
2:28 AM
0
Q: code to handle the if else condition without the if else loop

Ramyadef get_parent(relationships,GU) parent = [] if relationships.class == Array relationships.each do |y| if y[:relationship_roles][:relationship_role][:to_role][:name] == type parent << y[:party][:party_id][:id] end end else if relationships[:relationship_roles][:rel...

 
 
3 hours later…
5:50 AM
0
Q: Help me to make this script work

iBurnerThis code has a problem, it doesn't seem to be downloading anything. The code basically processes the JSON and then DECODES it, and then uses a FOR LOOP to loop through the arrays of the json and then uses igloo_id to download the swf's. But for some reason the code doesn't seem to download the...

 
 
2 hours later…
7:54 AM
0
Q: Get RemovableMedia devices info using C#

user27412I want to get detailed info about all removable media devices such as USB disk,Smartcard reader etc. and integrated devices such as Fingerprint reader,integrated camera etc on my Windows system using C#. If it can be done through WMI then please tell me detailded approach as I've tried querying "...

 
8:36 AM
0
Q: Call function after fucntion ends

Cone EnocSorry for a noob question, what code I need to write to use ProgressBar() function two times, first time passing argument (NameTagerStyle, ImgHolder), then wait until function is completed, then call ProgressBar() second time passing arguments (NameTagerImages, ImgHolder2) and one it's done call...

 
 
3 hours later…
12:05 PM
0
Q: Object iteration and appending to form

3gwebtrainI am getting the json from backend, once i find the json availability, i am looping and making 5 columns, once the columns are made, i am appending after the legend of my form.. I did like this, any one please improve further..? if(data.hasOwnProperty("allLocales")){ var col0 = $("<...

 
 
1 hour later…
1:20 PM
 

« first day (75 days earlier)      last day (2625 days later) »