Click here to Skip to main content
15,894,405 members
Home / Discussions / C#
   

C#

 
GeneralRe: Image upload error javascript/c# Pin
John Nederveen26-Feb-17 9:05
John Nederveen26-Feb-17 9:05 
GeneralRe: Image upload error javascript/c# Pin
Dave Kreskowiak26-Feb-17 10:48
mveDave Kreskowiak26-Feb-17 10:48 
QuestionWMI Events can't get User | ManagementEventWatcher, __INstanceCreationEvent, Win32_Process GetOwner Pin
Member 1302224424-Feb-17 10:25
Member 1302224424-Feb-17 10:25 
AnswerRe: WMI Events can't get User | ManagementEventWatcher, __INstanceCreationEvent, Win32_Process GetOwner Pin
Michael_Davies24-Feb-17 10:37
Michael_Davies24-Feb-17 10:37 
GeneralRe: WMI Events can't get User | ManagementEventWatcher, __INstanceCreationEvent, Win32_Process GetOwner Pin
Member 1302224424-Feb-17 16:02
Member 1302224424-Feb-17 16:02 
QuestionHow to customize timer to fire my routine at specific time Pin
Tridip Bhattacharjee23-Feb-17 22:33
professionalTridip Bhattacharjee23-Feb-17 22:33 
AnswerRe: How to customize timer to fire my routine at specific time Pin
Pete O'Hanlon23-Feb-17 22:42
mvePete O'Hanlon23-Feb-17 22:42 
AnswerRe: How to customize timer to fire my routine at specific time Pin
OriginalGriff23-Feb-17 22:46
mveOriginalGriff23-Feb-17 22:46 
Because you set the tick time to a specific value, means that it fires at that interval, not that it fires at a specific time: it doesn't add the tick interval to the system clock when you start the timer, it sets a specific number of ticks that should elapse before the timer event is fired. Changing the system clock does not affect that tick count, so if you set a timer for one hour and then move the clock forward 59 minutes, it will still be an hour before the timer fires.

If you want to first at a time, then set the timer interval to 30 seconds, and set a class level DateTime value at which you want to call your method. In the tick handler, compare the current time to the class level value and call your method if it matches. That way, you can reset the clock after it fires, and it will match a second time.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: How to customize timer to fire my routine at specific time Pin
Tridip Bhattacharjee23-Feb-17 22:50
professionalTridip Bhattacharjee23-Feb-17 22:50 
GeneralRe: How to customize timer to fire my routine at specific time Pin
OriginalGriff23-Feb-17 23:01
mveOriginalGriff23-Feb-17 23:01 
AnswerRe: How to customize timer to fire my routine at specific time Pin
Ralf Meier24-Feb-17 0:16
mveRalf Meier24-Feb-17 0:16 
QuestionInserting Localised Lookup Data into a Fresh Database Pin
Jammer23-Feb-17 8:16
Jammer23-Feb-17 8:16 
AnswerRe: Inserting Localised Lookup Data into a Fresh Database Pin
Gerry Schmitz23-Feb-17 9:53
mveGerry Schmitz23-Feb-17 9:53 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Jammer23-Feb-17 10:16
Jammer23-Feb-17 10:16 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Gerry Schmitz23-Feb-17 11:35
mveGerry Schmitz23-Feb-17 11:35 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Jammer23-Feb-17 13:04
Jammer23-Feb-17 13:04 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Gerry Schmitz23-Feb-17 13:36
mveGerry Schmitz23-Feb-17 13:36 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Jammer23-Feb-17 13:45
Jammer23-Feb-17 13:45 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Gerry Schmitz23-Feb-17 13:54
mveGerry Schmitz23-Feb-17 13:54 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Jammer23-Feb-17 20:34
Jammer23-Feb-17 20:34 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Gerry Schmitz23-Feb-17 20:38
mveGerry Schmitz23-Feb-17 20:38 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Jammer23-Feb-17 20:49
Jammer23-Feb-17 20:49 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Gerry Schmitz23-Feb-17 21:28
mveGerry Schmitz23-Feb-17 21:28 
AnswerRe: Inserting Localised Lookup Data into a Fresh Database Pin
Bernhard Hiller23-Feb-17 21:32
Bernhard Hiller23-Feb-17 21:32 
Questionwhy not escape to catch an error when i next run? Pin
Member 245846723-Feb-17 2:18
Member 245846723-Feb-17 2:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.