IDM_SAVEAS Command ID
Saves the current webpage to a file.
C++ Information
Command group CGID_MSHTML (defined in mshtmhst.h) Symbolic constant IDM_SAVEAS User interface Optional. This command displays a dialogue box if nCmdExecOpt is set to MSOCMDEXECOPT_DODEFAULT, MSOCMDEXECOPT_PROMPTUSER, or NULL. It does not display a dialogue box if the argument is set to MSOCMDEXECOPT_DONTPROMPTUSER. IOleCommandTarget::Exec parameters pvaInVARIANT of type VT_BSTR that specifies the path and file name of the file to which to save the Web page. When the path contains more than one folder name, separate the folder names with two backward slashes (\\).pvaOut Set to NULL.Header file mshtmcid.h Applies to IHTMLDocument2::execCommand, IHTMLDocument2::queryCommandEnabled, IHTMLDocument2::queryCommandIndeterm, IHTMLDocument2::queryCommandState, IHTMLDocument2::queryCommandSupported, IHTMLDocument2::queryCommandValue, IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus.
Remarks
Windows Internet Explorer 7 and later. The file path portion of pvaIn parameter is ignored.
Minimum Availability
Internet Explorer 4.0 and later.