>>I have an application running on a network drive in which some forms have ActiveX controls, primarily the oleCaledar. In the Init event of the form I initialize the oldCalendar with "ThisForm.oleCalendar.Value = DATE()". When the form is activated on my users PCs, the error "Property VALUE not found" is displayed.
>>
>>Does anyone know what I have done wrong here? On the development PC I have never seen the error and the setup routine includes COMCTL32.OCX to be placed in the windows system directory.
>>
>>TIA
>Hi Dave,
>
>Are you using the MS Calendar control (which is MSCAL.OCX, BTW)? If I recall correctly, there were some problems with setting the .Value property. The workaround was to set the .Day, .Month, and .Year properties (at least that's how I did it). You can, however, retrieve the selected date with the .Value property.
>
>hth,
George,
I just looked a little closer at the OLEClass property and it is MSACAL.MSACALCtrl.7. I changed the initialization to what you recommended and that worked.
Now however, I still have some PCs which are getting the Open File Dialog. As I mentioned previously, I think it has something to do with the setup.
Dave
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only