Opens the system Save File dialog box.
Syntax
HRESULT savefiledlg( VARIANT initFile, VARIANT initDir, VARIANT filter, VARIANT title, BSTR *pathName );
Parameters
- initFile
- VARIANT structure that contains the file name to save the file.
- initDir
- VARIANT structure that contains the directory to save the file.
- filter
- VARIANT structure that contains the filters to use in saving the file.
- title
- VARIANT structure that contains the initial title for the file dialog window.
- pathName
- Address of a string (BSTR) variable that specifies the path for the file to be saved.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
See Also
openfiledlg