Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DateTimePicker Control Bug

Status
Not open for further replies.

ChewDoggie

Programmer
Mar 14, 2005
604
US
Hello All,

I have a DateTimePicker control on a Windows Form. When the user clicks the 'spin up' button next to the "year" in the calendar, an error message appears stating,
Value of '2088' is not valid for 'Value'

I have set the MinDate/MaxDate properties. Is there a fix to the bug ?

Chew

10% of your life is what happens to you. 90% of your life is how you deal with it.
 
Hi ChewDoggie,

I'm not sure what your problem could be, as I just created a blank form, added the DateTimePicker control on it, hit run, the DTP showed up, I up'ed the year up to 3449 with no problem. Then, I went back in the properties, set the Min/Max date, and still have no problem, the year went up to the maxdate I had setup.

Can you provide more details on your error? Where does the error occur exactly? Is it on the DateTimePicker, or on something you are trying to do with the date once it has been picked?





Cheers,

Realm174
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top