Solved

Programatically open a DateTimePicker

Posted on 2006-11-15
2
1,054 Views
Last Modified: 2008-02-01
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?
0
Comment
Question by:garysamuels
2 Comments
 
LVL 10

Accepted Solution

by:
Kinger247 earned 500 total points
ID: 17947724
Try:

        DateTimePicker1.Focus()
        SendKeys.SendWait("%{DOWN}")
0
 

Author Comment

by:garysamuels
ID: 17948065
Thanks
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now