>After I calling showopen method, how to detect if cancel button was pressed in Common Dialog Activex.
The .FileName property will be empty in the version that ships with 6.0. Make sure that this property is set to an empty string, prior to calling ShowOpen.
George
Ubi caritas et amor, deus ibi est