>Hi Rick,
>Since Dmitry never marks his questions as solved, conversations go on :)
>
Just as FYI, I never marked any message as a solution because I don't know if I have a problem :). You see, I saw the error log of one of the customers pointing to KeyPress method. In this method I have a bunch of my code. Some lines depend on the value of the textbox being a date. I don't know if the error was on a specific line that uses the value (it could have been another line of code). Hence I wanted to see if I need to check the value type before using it (in order to prevent the error). That is all.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham