>>Hi Ed,
>>
>>Very true, but I think that it's more of a reason to sub-class the control.
>
>Or better yet, don't add the control to the form at Design time in the first place! Add the control at runtime using the ProgID (easiest if you instantiate a non-visual class to wrap the ActiveX control on the parent container (form, page, whatever)), so that you don't care which one is present as long as more recent versions support the same functionality that the older version did!
Have you been looking at my Obj2Bmp code< g >? That's exactly what I did for both the TreeView and ImageList so that the control version would be dependent on which version of VFP the thing was compiled on.
Seriously, I even attach the Common Dialogs control to a command button via a straight CREATEOBJECT().
George
Ubi caritas et amor, deus ibi est