Jim,
so - how can one see the properties available from the ".object" reference?
Also - on separate note you sent to Fred - do I understand that you are able to do set the calendar.object.value directly? I get a type mismatch no matter what I try to set there - can read it Ok - just can't write.
Ken
>Ken,
>
>I can't tell you why, but I can tell what. The OLEControl is a VFP object and it has properties. When you want to address the thing inside the OLEControl you can use the Object property of the OLEControl to get a reference to it. Historically, you only needed to use the Object proeprty if the OLECOntorl had a property of the same name as the contiend ActiveX control, it removed ambiguity from the reference.
>
>Apparently something changed with the 6.0 OLEControl so that it thinks it has a Value property and so the need to sue the Object property. It is a good safe practice to use the Object property always.
Ken B. Matson
GCom2 Solutions