OlkDateControl Object (Outlook)
Published: July 16, 2012
A control that supports the drop-down date picker used in inspectors for task and appointment items to select a date.
Before you use this control for the first time in the forms designer, add the Microsoft Outlook Date Control to the control toolbox. You can only add this control to a form region in an Outlook form using the forms designer; you cannot add this control to a Visual Basic UserForm object in the Visual Basic Editor.
The following is an example of the date control at runtime. This control supports Microsoft Windows themes.
This control can bind to any built-in or custom DateTime field. However, the control does not support any date format setting for the field, nor does it support the select range behavior that is available in the appointment inspector.
For more information about Outlook controls, see Controls in a Custom Form. For examples of add-ins in C# and Visual Basic .NET that use Outlook controls, see code sample downloads on MSDN.