Click here to Skip to main content
15,889,909 members
Home / Discussions / C#
   

C#

 
AnswerRe: System.AccessViolationException Pin
Christian Graus18-Jun-09 19:29
protectorChristian Graus18-Jun-09 19:29 
GeneralRe: System.AccessViolationException Pin
siddy1718-Jun-09 19:57
siddy1718-Jun-09 19:57 
GeneralRe: System.AccessViolationException Pin
Christian Graus18-Jun-09 21:28
protectorChristian Graus18-Jun-09 21:28 
QuestionGUI interface for launching a ethernet packet Pin
moniska18-Jun-09 16:55
moniska18-Jun-09 16:55 
AnswerRe: GUI interface for launching a ethernet packet Pin
Rajesh Anuhya18-Jun-09 18:11
professionalRajesh Anuhya18-Jun-09 18:11 
GeneralRe: GUI interface for launching a ethernet packet Pin
moniska21-Jun-09 16:59
moniska21-Jun-09 16:59 
QuestionWindows service Stop issue Pin
mark_me18-Jun-09 16:11
mark_me18-Jun-09 16:11 
AnswerRe: Windows service Stop issue Pin
Mycroft Holmes18-Jun-09 17:57
professionalMycroft Holmes18-Jun-09 17:57 
mark_me wrote:
I want single thread exection at a time

Why are you using threading tin this case - doesn't make sense to me.

In your tick event I presume you disable the timer and then begin your processing, then enable you timer.

This method presumably checks the elapsed time from the last process event.
Manage your events in the tick method and read your durations from a DB settings table.

Have the tick fire every #n minutes and every #N times it checks the database.

No stopping/starting the service, ASP writes the settings to SQL, single thread, only down side is a regular read to the SQL to get the settings.


Never underestimate the power of human stupidity
RAH

GeneralRe: Windows service Stop issue Pin
mark_me14-Jul-09 17:29
mark_me14-Jul-09 17:29 
QuestionPhone Pin
ellllllllie18-Jun-09 12:23
ellllllllie18-Jun-09 12:23 
AnswerRe: Phone Pin
Henry Minute18-Jun-09 12:44
Henry Minute18-Jun-09 12:44 
AnswerRe: Phone Pin
Luc Pattyn18-Jun-09 13:15
sitebuilderLuc Pattyn18-Jun-09 13:15 
AnswerRe: Phone Pin
Not Active18-Jun-09 13:15
mentorNot Active18-Jun-09 13:15 
JokeRe: Phone Pin
musefan18-Jun-09 22:01
musefan18-Jun-09 22:01 
AnswerRe: Phone Pin
Christian Graus18-Jun-09 19:30
protectorChristian Graus18-Jun-09 19:30 
GeneralRe: Phone Pin
EliottA19-Jun-09 2:53
EliottA19-Jun-09 2:53 
QuestionC++ in C# Pin
Omar Gameel Salem18-Jun-09 10:11
professionalOmar Gameel Salem18-Jun-09 10:11 
AnswerRe: C++ in C# Pin
DaveyM6918-Jun-09 10:25
professionalDaveyM6918-Jun-09 10:25 
AnswerRe: C++ in C# Pin
Simon P Stevens18-Jun-09 10:28
Simon P Stevens18-Jun-09 10:28 
AnswerRe: C++ in C# Pin
Dan Neely18-Jun-09 11:05
Dan Neely18-Jun-09 11:05 
AnswerRe: C++ in C# Pin
Omar Gameel Salem18-Jun-09 11:14
professionalOmar Gameel Salem18-Jun-09 11:14 
QuestionC# windowless application for screen capture and replay Pin
parth_patel18-Jun-09 8:15
parth_patel18-Jun-09 8:15 
AnswerRe: C# windowless application for screen capture and replay Pin
Henry Minute18-Jun-09 8:40
Henry Minute18-Jun-09 8:40 
GeneralRe: C# windowless application for screen capture and replay Pin
parth_patel18-Jun-09 8:49
parth_patel18-Jun-09 8:49 
AnswerRe: C# windowless application for screen capture and replay Pin
DaveyM6918-Jun-09 8:41
professionalDaveyM6918-Jun-09 8:41 

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.