Click here to Skip to main content
15,893,814 members
Home / Discussions / C#
   

C#

 
Question[Message Deleted] Pin
googlejumbo12-Jun-09 6:20
googlejumbo12-Jun-09 6:20 
AnswerRe: Help for user interface design PinPopular
Henry Minute12-Jun-09 6:53
Henry Minute12-Jun-09 6:53 
GeneralRe: Help for user interface design Pin
googlejumbo12-Jun-09 8:18
googlejumbo12-Jun-09 8:18 
GeneralRe: Help for user interface design Pin
EliottA12-Jun-09 8:25
EliottA12-Jun-09 8:25 
GeneralRe: Help for user interface design Pin
led mike12-Jun-09 8:29
led mike12-Jun-09 8:29 
GeneralRe: Help for user interface design Pin
OriginalGriff12-Jun-09 8:36
mveOriginalGriff12-Jun-09 8:36 
GeneralRe: Help for user interface design Pin
Mycroft Holmes12-Jun-09 17:06
professionalMycroft Holmes12-Jun-09 17:06 
QuestionTimer method for 2 methods. Pin
mark_me12-Jun-09 5:40
mark_me12-Jun-09 5:40 
Hi,
I have two methods in a windows application(am converting to a winservice). I need these methods to run after specific intervals with out user intervention. I have googled a bit and realize that i have 2 main options (correct me if i am wrong).
1. Threading
2. Timer (using TimerCallback)
I have ruled out threading because i want only one thread of execution. I want one of the method to execute at a time.
Timer would execute a method at intervals but my problem is that i want to run 2nd method every 1.5 hour where as the 1st method every 3 hrs. In cases where there is kind a collision method 1 should run first and then method 2. plz note first 90 mins , method 2 runs, 2nd 90 mins both should run but i want method 1 to run and then method 2 can run.
how do i solve such problem. Please provide a solution. Code snippet or idea or web url will highly be appreciated.

Thanx in advance
AnswerRe: Timer method for 2 methods. Pin
led mike12-Jun-09 5:46
led mike12-Jun-09 5:46 
GeneralRe: Timer method for 2 methods. Pin
mark_me12-Jun-09 6:04
mark_me12-Jun-09 6:04 
GeneralRe: Timer method for 2 methods. Pin
led mike12-Jun-09 6:45
led mike12-Jun-09 6:45 
GeneralRe: Timer method for 2 methods. Pin
Luc Pattyn12-Jun-09 6:32
sitebuilderLuc Pattyn12-Jun-09 6:32 
GeneralRe: Timer method for 2 methods. Pin
mark_me12-Jun-09 6:39
mark_me12-Jun-09 6:39 
GeneralRe: Timer method for 2 methods. Pin
led mike12-Jun-09 6:51
led mike12-Jun-09 6:51 
AnswerRe: Timer method for 2 methods. Pin
Nagy Vilmos12-Jun-09 5:52
professionalNagy Vilmos12-Jun-09 5:52 
AnswerRe: Timer method for 2 methods. Pin
Luc Pattyn12-Jun-09 6:30
sitebuilderLuc Pattyn12-Jun-09 6:30 
QuestionComboBox (ComboBoxStyle.Simple) Without Showing the List Pin
Martin P. Davies12-Jun-09 4:45
Martin P. Davies12-Jun-09 4:45 
AnswerRe: ComboBox (ComboBoxStyle.Simple) Without Showing the List Pin
Martin P. Davies12-Jun-09 4:57
Martin P. Davies12-Jun-09 4:57 
AnswerRe: ComboBox (ComboBoxStyle.Simple) Without Showing the List Pin
Dr.Walt Fair, PE12-Jun-09 5:23
professionalDr.Walt Fair, PE12-Jun-09 5:23 
GeneralRe: ComboBox (ComboBoxStyle.Simple) Without Showing the List Pin
Martin P. Davies12-Jun-09 5:37
Martin P. Davies12-Jun-09 5:37 
GeneralRe: ComboBox (ComboBoxStyle.Simple) Without Showing the List Pin
Dr.Walt Fair, PE12-Jun-09 6:00
professionalDr.Walt Fair, PE12-Jun-09 6:00 
GeneralRe: ComboBox (ComboBoxStyle.Simple) Without Showing the List Pin
Martin P. Davies12-Jun-09 6:06
Martin P. Davies12-Jun-09 6:06 
GeneralRe: ComboBox (ComboBoxStyle.Simple) Without Showing the List Pin
Dr.Walt Fair, PE12-Jun-09 6:28
professionalDr.Walt Fair, PE12-Jun-09 6:28 
GeneralRe: ComboBox (ComboBoxStyle.Simple) Without Showing the List Pin
Martin P. Davies15-Jun-09 22:17
Martin P. Davies15-Jun-09 22:17 
QuestionChanging DataGridView selection Pin
Dan Neely12-Jun-09 4:44
Dan Neely12-Jun-09 4:44 

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.