>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?
>
>Also, where can I find information like this for futture reference?
>
>Thank you,
>John
John,
Add one visually to a dummy temp form. Then check its OleClass property. Addobject would read like :
thisform.addobject('myOle','OleControl','OLEClassReadFromProperty')
ie:
thisform.addobject('myTreeview','OleControl','MSComCtlLib.TreeCtrl')
Cetin