FileDialog.DefaultExt Property

 FileDialog.DefaultExt  (read-write, String)
 
This extension will be appended to the file name if the user fails to type an extension.

Syntax

FileDialog.DefaultExt [= String]

The property syntax has these parts:

Part Description
Value (String) This extension will be appended to the file name if the user fails to type an extension.

Remarks

ShowOpen() and ShowSave() append this extension to the file name if the user fails to type an extension. This string can be any length, but only the first three characters are appended. The string should not contain a period (.). If this propety is empty (the default value) and the user fails to type an extension, no extension is appended.