>Hi John.
>
>>Does anyone know what parameters I need to pass in my AddObject() command in order to add a 'Microsoft Common Dialog Control 6.0' to my form programmatically?
>
>If you have a copy of VFP 7, you can use the new _ComDlg class that's included in the FoxPro Foundation Classes (FFC). The main advantages of this class are that you can instantiate it programmatically and there's no need to distribute and register COMCTL32.OCX. It works in VFP 6 apps just fine.
>
Doug,
You didn't have to before either. Of course, you did have to distribute and register COMDLG32.OCX.< G >
George
Ubi caritas et amor, deus ibi est