How to add new job or update the trigger for existing job in the Quartz.Net

C#
I am getting job details like start time and effective date from the database and on the basis of the job details, i am creating the job but what if ...
7 months ago

Getting a Button handle from another application

C#
I have a program that needs to send the BM_CLICK message to another applications button. I can get the parent window handle but when I try to get the ...
7 months ago

Extracting a project as a separate project from the Visual Studio solution

C#
I'm using Visual Studio 2013 and I have a solution that contains multiple projects. I would like to extract one project from a solution to create a ...
7 months ago

Issues with Change Password function

C#
Having some issues with some of my code that has brought me to a brick wall. Even after searching a few hours I cant seem to get it to work. I am qu...
7 months ago

how to generate a random number from a pool of number who aren't following each other

C#
I got a pool of numbers (for example {3,6,7,11,20}) and i need each number to appear in my collection x times. My solution was to create a class, let...
7 months ago

C++11 auto type deduction from arithmetic operation on int& and long

C++
I must be misunderstanding how auto c++11 and later resolves types. I have the following code: void foo(int& x) { ++x; } int main() { i...
7 months ago

Multiple Inheritance in C++ with 3 derived classes

C++
I'm trying to use multiple inheritance. Person is my base class. Student and Angestellter inherit the protected attributes. WissenschaftlicheHilfskraf...
7 months ago

Relocate pointer passed as a parameter

C++
I have a method that takes a single unsigned char* as a parameter. int MyClass::MyMethod(unsigned char* resultArray) That parameter is allocated b...
7 months ago

Unstage a deleted file in git

Git
Usually, to discard changes to a file you would do: git checkout -- <file> What if the change I want to discard is deleting the file? The abo...
7 months ago

Problems implementing the new GCM Client for Android

Java
I'm trying to implement the new GCM Client on Android following the guidelines from Google (https://developers.google.com/cloud-messaging/android/clie...
7 months ago

DBUnit PostgresqlDataTypeFactory does not recognizes enum list

Java
I'm using DBUnit for an integration test, and before executing the test code I'm running into this error: badges.track_types data type (2003, '_text'...
7 months ago

Java to Kotlin generics translation

Java
I want move to Kotlin old Java project, and found interesting, can't translate this to Kotlin without pain public interface BaseJView<P extends Ba...
7 months ago

Exit on pressing Enter key (Java)

Java
I have simple code for adding strings into an arraylist. I need to terminate my while loop when user gives a blank input (or clicks enter twice basica...
7 months ago

Image path in AngularJs

Javascript
I have a image path in AngularJs $scope variable imageUrl, which comes from external source. http://farm6.staticflickr.com/5579/14671096893_806ec359b...
7 months ago

Angular Routing ngRoute fails to pull my other HTML files

Javascript
So after reading here and there on MEAN, I decided to make my first MEAN application which is pretty small, all seems to work except the routeing to m...
7 months ago

HTML5 Audio: How to Play only a Selected Portion of an Audio File (audio sprite)?

Javascript
I'm working on an iOS metronome web app. Since mobile safari can only play one sound at a time, I'm attempting to create an 'audio sprite' - where I c...
7 months ago

How do i loop my timed sequence for my program in JavaScript

Javascript
I have made a program that displays a traffic light, the colour is changed when a button is pressed. I don't know how to add a timed sequence to this,...
7 months ago

How to store value of an array from prompt in javascript?

Javascript
I am trying to right a simple program in java script which will take 10 inputs from user and stored in an array and then display the input in console....
7 months ago

Deleting table rows in javascript

Javascript
I'm having trouble with a function in javascript and can't figure out why. It's really quite straight forward. I'm trying to delete all the rows in ...
7 months ago

Accessing POST json in clojure

JSON
EDIT - The source code is on github if you're interested. Thanks I am a bit confused as to how to access json data that has been posted to a url in...
7 months ago