>How do you programmatically instanciate the common dialog control?
>CREATOBJECT("CommonDialog") doesn't work. Thanks
John,
Let me save you a ton of trouble.
Don't try to do this! The reason is that it won't work at run-time. You'll get an error. It's best to drop the control on a form, and either use the property sheet or programmatically set the properties.
For details on the error, see MS KB article Q192693 "BUG: License Error with ActiveX Control Added at Run-Time".
George
Ubi caritas et amor, deus ibi est