Programatically open a DateTimePicker

When a checkbox is changed I want to make sure that the operators next step is to select a date from a datetimepicker. I can set the focus to the datetimepicker but it just highlights the month. How can I programatically make the datetimepicker dropdown and show the calendar?
Gary SamuelsPlant ManagerAsked:
Who is Participating?
 
Kinger247Connect With a Mentor Commented:
Try:

        DateTimePicker1.Focus()
        SendKeys.SendWait("%{DOWN}")
0
 
Gary SamuelsPlant ManagerAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.