LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Pop-up calendar for selecting date

Hi,
I wanted to know if there is a LabWindows method for popping up a calendar for selecting a date.
(Just like in the online forms)
If not built-in, any widget for it would be a great help.
 
Thanks in advance.
0 Kudos
Message 1 of 7
(5,325 Views)

Hi swati,

depending on the software installed on your machine, you may have installed the "date-time picker" activex control from Microsoft, which prompts the user with a calendar popup onto which to select the desired date.

As per every activex control, this control must be registered on the system in order for you to use it, and it must be installed on your customer system too when you deploy your application to him. Unfortunately I don't know exactly which MS program installed it on my machine (on which Office 2000 together with a bunch of other MS software is installed), so I cannot help you with reference to licensing problems.

Anyway, you may find this thread interesting as it explains how to install and register the control in case you don't find it on your machine.

Also look at this other thread as it explains hot to convert the time returned by the control to a format suitable for CVI to use it.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 7
(5,309 Views)
Hello,

I tried following the first link (about installing the controls), but it leads to a dead-end (site has moved, and the next site just had an empty page). Is there any info you have you can cut/paste here?

Thanks,
Avner Ginsburg

0 Kudos
Message 3 of 7
(5,307 Views)

Strange indeed: on my machine it works regularly Smiley Surprised

Anyway, using the advanced search on this forum, look for "date time picker" on CVI board without time limits (linked threads are quite old: they are dated 2002): you should find a few links to follow two of them are linked on my first message.

Hope this helps

Roberto



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 7
(5,300 Views)
Ah, thanks. I used the search to find older threads. And, it looks like it's just too much effort for such a small gain, for my application anyway. Shame they made it so difficult (Microsoft).

As for the weblinks, I'm using netscape, so perhaps it was an explorer only page 🙂

Cheers,
Avner Ginsburg

0 Kudos
Message 5 of 7
(5,289 Views)
Hi Roberto,
So it looks like I have the activeX control installed on my system ( I can see it in my SYSTEM32 directory)
But how do I proceed from here?
How do I call up the activeX control from a LabWindows callback?

Thanks!




0 Kudos
Message 6 of 7
(5,280 Views)
Look at Wendy's answer in this discussion.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 7 of 7
(5,261 Views)