Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
Questionhow to delete entries in HKLM of windows registry Pin
YogeshRT19-Jun-06 2:24
YogeshRT19-Jun-06 2:24 
AnswerRe: how to delete entries in HKLM of windows registry Pin
leppie19-Jun-06 2:56
leppie19-Jun-06 2:56 
QuestionScrolling an image Pin
rheia8419-Jun-06 2:08
rheia8419-Jun-06 2:08 
AnswerRe: Scrolling an image Pin
Judah Gabriel Himango19-Jun-06 6:05
sponsorJudah Gabriel Himango19-Jun-06 6:05 
GeneralRe: Scrolling an image Pin
rheia8420-Jun-06 3:52
rheia8420-Jun-06 3:52 
Questiondisplaying row data into textboxes Pin
iramg19-Jun-06 2:03
iramg19-Jun-06 2:03 
AnswerRe: displaying row data into textboxes Pin
rah_sin19-Jun-06 2:11
professionalrah_sin19-Jun-06 2:11 
QuestionDateTimePicker ValueChanged event fires twice Pin
PaulaM19-Jun-06 1:16
PaulaM19-Jun-06 1:16 
Hi,i have a DateTimePicker DateTimePicker1 in my Form,when user enters a future date a message "Date cannot be in the future" displays

in my DateTimePicker ValueChanged event i have this code

TimeSpan ts = (DateTime)DateTimePicker1.Value - DateTime.Now;<br />
            if (ts.Milliseconds > 0)<br />
            {<br />
                MessageBox.Show"Date cannot be in the future".);<br />
                DateTimePicker1.Value = DateTime.Now;<br />
                return;<br />
}


The message Displays twice,which makes me think the event fires twice.
how can i make it fire just once?
or is there something i am mssing?
thanksSmile | :)





regards paula
AnswerRe: DateTimePicker ValueChanged event fires twice [modified] Pin
Nader Elshehabi19-Jun-06 1:34
Nader Elshehabi19-Jun-06 1:34 
AnswerRe: DateTimePicker ValueChanged event fires twice Pin
MCSD-Gandalf19-Jun-06 1:44
MCSD-Gandalf19-Jun-06 1:44 
AnswerRe: DateTimePicker ValueChanged event fires twice Pin
LongRange.Shooter19-Jun-06 8:03
LongRange.Shooter19-Jun-06 8:03 
QuestionRegistry Pin
bannapradeep19-Jun-06 0:47
bannapradeep19-Jun-06 0:47 
AnswerRe: Registry Pin
Dave Kreskowiak19-Jun-06 1:27
mveDave Kreskowiak19-Jun-06 1:27 
GeneralRe: Registry [modified] Pin
bannapradeep19-Jun-06 2:52
bannapradeep19-Jun-06 2:52 
GeneralRe: Registry Pin
Dave Kreskowiak19-Jun-06 12:23
mveDave Kreskowiak19-Jun-06 12:23 
GeneralRe: Registry Pin
Dave Kreskowiak21-Jun-06 1:20
mveDave Kreskowiak21-Jun-06 1:20 
QuestionWhere is the modem? Pin
Nader Elshehabi19-Jun-06 0:46
Nader Elshehabi19-Jun-06 0:46 
AnswerRe: Where is the modem? Pin
Ed.Poore19-Jun-06 10:36
Ed.Poore19-Jun-06 10:36 
GeneralRe: Where is the modem? Pin
Nader Elshehabi19-Jun-06 14:37
Nader Elshehabi19-Jun-06 14:37 
GeneralRe: Where is the modem? Pin
Ed.Poore19-Jun-06 20:48
Ed.Poore19-Jun-06 20:48 
GeneralRe: Where is the modem? Pin
Nader Elshehabi20-Jun-06 2:01
Nader Elshehabi20-Jun-06 2:01 
GeneralRe: Where is the modem? Pin
Ed.Poore20-Jun-06 2:17
Ed.Poore20-Jun-06 2:17 
GeneralRe: Where is the modem? Pin
Nader Elshehabi20-Jun-06 10:41
Nader Elshehabi20-Jun-06 10:41 
QuestionC# Books Pin
racing5719-Jun-06 0:22
racing5719-Jun-06 0:22 
AnswerRe: C# Books Pin
bannapradeep19-Jun-06 0:59
bannapradeep19-Jun-06 0:59 

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.