>>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
>>Dave
>
>Dave,
>
>Try this;
>
>ThisForm.oleCalendar.Object.Value = DATE()
>
>Remember the oleCalendar is the ole container and the ActiveX control is the Object within the container. The OLEContainer does not have a Value property.
That resulted in the error Data Mismatch.
Also on some of the PCs I am getting the Open File Dialog when the form activates, which indicates to me that the OCX is not recognized (I think :) ).
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement