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.
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.
04-25-2017 10:05 AM
Hi,
I need a control in DIAdem dialog box, where user can choose date.
How to realize that?
I found that in older version some people used ActiveX control MSCAL.Calendar.7, but this control not supported now.
Any ideas?
Thank's,
04-26-2017 10:41 AM
Hi prophecy13,
It sounds like the first step is finding a calendar that you can use. Below is a Microsoft forum that explains how to get a calendar running in Windows 7. This might be a good place to start.
Thanks,
Andy
04-27-2017 04:18 AM
Hi Andy,
It is not easy way, and I need to do it in each PC, where I want to run tool.
I did some workaround for this: I add to dialog edit control(with little label with help information for user) and then I check what user input to this edit by CDate. If CDate return exception then date in edit control is wrong, and I show error message for user.
Thanks,
Yuriy
04-27-2017 01:33 PM
Yuriy,
I have another idea that I wanted to run by you.
It seems that MSCAL.Calendar.7 was replaced by a built in Date Picker (https://social.msdn.microsoft.com/Forums/office/en-US/21bb7dd0-33c5-47e7-839d-4f8a69db36da/replace-m...). You can use an Active X control and navigate to “Microsoft Date and Time Picker Control” this will get you to the calendar control.
08-22-2017 07:40 PM
Did anyone get this working? I'm looking for a way to add a date range via an SUD for a scripted DataFinder query, but I don't see any sort of calendar in the list of ActiveX items in the dialog editor...
Chris
08-23-2017 02:56 PM
Hi Chris,
Since MSCAL.Calendar7 was removed in 2010 by Microsoft, they've also released this article documenting workarounds and replacements for the calendar control. If you do not need the calendar functionality itself, the most convenient option may be to provide users some sort of ComboBox selection for Month, Day, and Year to allow them to manually input the necessary date.