Hi Uri:
You don't need to change any properties to get this OCX to work. Just access the value property as:
ThisForm.MyOCXDatePicker.object.value = DATE()
Distribute this OCX as you would any other OCX--through the VFP setup wizard.
HTH,
--Paul
>Hi, All!
>
>I use in my application DateTimePicker control (MSCOMCT2.OCX). Do I have to do something special in the code (like changing DefOLECLID property etc.) or/and in the Setup Wizard?
>
>Thanks in advance,
>
>Uri Shohet