微软是这么说的
CMDialog1.DefaultExt = "TXT" 'Default extension if you enter none.
' In the dialog box, the default extension will be applied only if you
' enter the filename with no period. If you type the file name with
' a period and no extension (such as FILEX.), then CMDialog1.Filename
' always returns a blank extension.