kiko yang

kiko yang

  • NA
  • 4
  • 10.4k

"an error occurred in a call to the Windows Date and Time Picker Control" and "Not a legal OleAut date"

Feb 10 2011 1:43 AM
i'm migrating from vb6 to vb.net. Now I'm having problem in using the dtPicker. I have set the properties of the dtPicker:
CheckBox=False
Format=3-dtpCustom
MaxDate=31/12/9999
MinDate=01/01/2000

The error message is "An error occurred in a call to the Windows Date and Time Picker Control", and the error code is -2146792500(but i cannot figure out what this code means). Besides that, the value of the dtpikcer also show as "Not a legal OleAut date".

Appreciate any help.

Answers (1)