Problem in DateTime Control
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
i attach a datetime picker control the form. Then i display a message on its "TextChanged"event. Here is the code. Private Sub DateTimePicker1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DateTimePicker1.TextChanged Msgbox("Code Runs") End Sub Means this code will display a message when i change any day from the datetime control. But when i changed the month, then it display message 30 times, and when i change year, it display my message 365 times. I need that when i change the month and year from this controls, then it cannot display message. It only display message when i change the day. How can i do this. plz help EsHbAn BaHaDuR