From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Using the ActiveX Calendar Control in LabWindows/CVI

Code and Documents

Attachment

The calendar control is an ActiveX control available in LabWindows/CVI. This example program demonstrates how to retrieve the date the user selected on the calendar control. The calendar control functionality is exposed through an instrument driver. The program creates an ActiveX object handle to establish ActiveX communication.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors