Click here to Skip to main content
15,886,362 members
Home / Discussions / C#
   

C#

 
GeneralRe: automatic start, Pin
Member 1363217131-Jan-18 5:00
Member 1363217131-Jan-18 5:00 
GeneralRe: automatic start, Pin
OriginalGriff31-Jan-18 5:39
mveOriginalGriff31-Jan-18 5:39 
AnswerRe: automatic start, Pin
Richard MacCutchan31-Jan-18 6:08
mveRichard MacCutchan31-Jan-18 6:08 
AnswerRe: automatic start, Pin
Eddy Vluggen31-Jan-18 13:16
professionalEddy Vluggen31-Jan-18 13:16 
Questiontime task scheduler class Pin
Member 1363217131-Jan-18 2:46
Member 1363217131-Jan-18 2:46 
AnswerRe: time task scheduler class Pin
OriginalGriff31-Jan-18 2:53
mveOriginalGriff31-Jan-18 2:53 
GeneralRe: time task scheduler class Pin
Member 1363217131-Jan-18 2:57
Member 1363217131-Jan-18 2:57 
GeneralRe: time task scheduler class Pin
OriginalGriff31-Jan-18 3:07
mveOriginalGriff31-Jan-18 3:07 
Just create a background thread - see the BackgroundWorker class[^] for a simple method and an example.
Then in the thread, use DateTime.Now to get the current date and time, and if you are outside the "running" time, call Thread.Sleep(60000) to wait for one minute before trying again.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

GeneralRe: time task scheduler class Pin
Member 1363217131-Jan-18 3:14
Member 1363217131-Jan-18 3:14 
GeneralRe: time task scheduler class Pin
Pete O'Hanlon31-Jan-18 3:31
mvePete O'Hanlon31-Jan-18 3:31 
AnswerRe: time task scheduler class Pin
#realJSOP1-Feb-18 2:41
mve#realJSOP1-Feb-18 2:41 
GeneralRe: time task scheduler class Pin
Member 136321711-Feb-18 2:45
Member 136321711-Feb-18 2:45 
AnswerRe: time task scheduler class Pin
#realJSOP1-Feb-18 4:52
mve#realJSOP1-Feb-18 4:52 
GeneralRe: time task scheduler class Pin
Member 136321711-Feb-18 4:54
Member 136321711-Feb-18 4:54 
AnswerRe: time task scheduler class Pin
#realJSOP2-Feb-18 0:54
mve#realJSOP2-Feb-18 0:54 
AnswerRe: time task scheduler class Pin
Pete O'Hanlon31-Jan-18 2:54
mvePete O'Hanlon31-Jan-18 2:54 
GeneralRe: time task scheduler class Pin
Member 1363217131-Jan-18 2:58
Member 1363217131-Jan-18 2:58 
Questionusing image button Pin
Member 1365319330-Jan-18 20:22
Member 1365319330-Jan-18 20:22 
AnswerRe: using image button Pin
OriginalGriff30-Jan-18 21:04
mveOriginalGriff30-Jan-18 21:04 
QuestionC# read the footer in a Microsoft Word document Pin
Member 1101829930-Jan-18 15:00
Member 1101829930-Jan-18 15:00 
AnswerRe: C# read the footer in a Microsoft Word document Pin
Richard MacCutchan30-Jan-18 21:39
mveRichard MacCutchan30-Jan-18 21:39 
QuestionPartial static class Pin
#realJSOP30-Jan-18 3:26
mve#realJSOP30-Jan-18 3:26 
AnswerRe: Partial static class Pin
Richard Deeming30-Jan-18 3:44
mveRichard Deeming30-Jan-18 3:44 
GeneralRe: Partial static class Pin
#realJSOP30-Jan-18 3:49
mve#realJSOP30-Jan-18 3:49 
QuestionWhat is the best way to practice unit testing in C#? Pin
Hila Berger30-Jan-18 0:33
Hila Berger30-Jan-18 0:33 

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.