MaxFileSize
This property returns and sets the maximum size of the file name opened using the CommonDialog control.
Syntax
object.MaxFileSize [= value]
Parameters
- object
- Object expression that evaluates to a CommonDialog control.
- value
- Integer that specifies the maximum size, in bytes, of the file name. The range for this property is from 1 through 32 KB. The default is 256.
Remarks
The MaxFileSize property allocates memory to store the actual names of the selected file or files.