I am having trouble using the DateTimePicker control.
I basically want to print out each time a user choses a date. So I use the ValueChanged event.
However everytime I run my program, the DateTimePicker starts with a null value. I found this out by just having a messagebox display the dateTimePickerControl.value.
I have the Control on a panel that is not initially visible, so only when I change to that panel is where the right date gets displayed.
Since it is a null value any other methods that I run because of a date change crash my program.
I was thinking of creating the control dynamically, but I was wondering if there was another way?