Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
GeneralRe: Making all columns text when using Microsoft Text Driver(*.txt, *.csv) Pin
Sunset Towers6-Dec-08 23:30
Sunset Towers6-Dec-08 23:30 
QuestionTesting C# with xUnit Pin
Jammer6-Dec-08 5:33
Jammer6-Dec-08 5:33 
QuestionC# serial Port Pin
Karmendra Suthar6-Dec-08 5:05
Karmendra Suthar6-Dec-08 5:05 
AnswerRe: C# serial Port Pin
Wendelius6-Dec-08 5:41
mentorWendelius6-Dec-08 5:41 
Questionmaking alarm Pin
Xmen Real 6-Dec-08 4:48
professional Xmen Real 6-Dec-08 4:48 
AnswerRe: making alarm [modified] Pin
Alan N6-Dec-08 10:12
Alan N6-Dec-08 10:12 
GeneralRe: making alarm Pin
Xmen Real 6-Dec-08 14:29
professional Xmen Real 6-Dec-08 14:29 
AnswerRe: making alarm Pin
Wendelius7-Dec-08 0:12
mentorWendelius7-Dec-08 0:12 
One way is to split the logic. Something like:

- if the end time > start time, simple check if current time is between start and end
- if the end time < start time it means that you're crossing midnight, then:

    - check if current time > start time => alarm
    - or if current time < end time, => alarm


The need to optimize rises from a bad design.My articles[^]

GeneralRe: making alarm Pin
Xmen Real 7-Dec-08 1:53
professional Xmen Real 7-Dec-08 1:53 
GeneralRe: making alarm Pin
Wendelius7-Dec-08 2:43
mentorWendelius7-Dec-08 2:43 
QuestionBorder Of Group Box Pin
nagendra.vk6-Dec-08 4:10
nagendra.vk6-Dec-08 4:10 
AnswerRe: Border Of Group Box Pin
Xmen Real 6-Dec-08 4:53
professional Xmen Real 6-Dec-08 4:53 
GeneralRe: Border Of Group Box Pin
#realJSOP6-Dec-08 23:24
mve#realJSOP6-Dec-08 23:24 
GeneralRe: Border Of Group Box Pin
Xmen Real 6-Dec-08 23:26
professional Xmen Real 6-Dec-08 23:26 
AnswerRe: Border Of Group Box Pin
#realJSOP6-Dec-08 23:26
mve#realJSOP6-Dec-08 23:26 
QuestionHow to let the application work with plugins? Pin
softwarejaeger6-Dec-08 4:06
softwarejaeger6-Dec-08 4:06 
AnswerRe: How to let the application work with plugins? Pin
Marcelo Emmerich7-Dec-08 6:27
Marcelo Emmerich7-Dec-08 6:27 
GeneralRe: How to let the application work with plugins? Pin
softwarejaeger9-Dec-08 20:02
softwarejaeger9-Dec-08 20:02 
GeneralRe: How to let the application work with plugins? Pin
softwarejaeger10-Dec-08 1:04
softwarejaeger10-Dec-08 1:04 
Questionerror opening excel sheet in c# Pin
emilio_ts6-Dec-08 3:32
emilio_ts6-Dec-08 3:32 
AnswerRe: error opening excel sheet in c# Pin
Wendelius6-Dec-08 3:53
mentorWendelius6-Dec-08 3:53 
GeneralRe: error opening excel sheet in c# Pin
emilio_ts6-Dec-08 3:59
emilio_ts6-Dec-08 3:59 
GeneralRe: error opening excel sheet in c# Pin
Wendelius6-Dec-08 4:30
mentorWendelius6-Dec-08 4:30 
GeneralRe: error opening excel sheet in c# Pin
Dave Kreskowiak6-Dec-08 4:59
mveDave Kreskowiak6-Dec-08 4:59 
GeneralRe: error opening excel sheet in c# Pin
emilio_ts6-Dec-08 5:23
emilio_ts6-Dec-08 5:23 

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.