* "andreas" <an*****@pandora.be> scripsit:
I have a datetimepicker , format set to time
and two strings, the first give me a hour lke "5" and the other the minutes
like "15"
How can i put these two values in the datetimepicker ?
\\\
Dim d As Date = Me.DateTimePicker1.Value
Me.DateTimePicker1.Value = New Date(d.Year, d.Month, d.Day, CInt("5"), CInt("15"), 0)
///
Set the datetimepicker's 'Format' property to 'Custom' and the
'CustomFormat' property to a string containing "HH:mm".
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>