Help Center
Help CenterAfxNova

File Management

467 entries across 13 topics.

Topics

All entries

CExplorerBrowser 32

AdviseInitiates a connection with IExplorerBrowser for event callbacks.BroseToIDListBrowses to a pointer to an item identifier list (PIDL)BroseToObjectBrowses to an object.BrowseToIDListBrowseToObjectDestroyDestroys the browser.FillFromObjectCreates a results folder and fills it with items.GetCurrentViewGets an interface for the current view of the browser.GetErrorInfoReturns a localized description of the last result code.GetLastResultReturns the last result code.GetOptionsGets the current browser options.GetPtrReturns a raw pointer to the underlying **IExplorerBrowser** interface.InitializePrepares the browser to be navigated.NavigateBackNavigate back programatically.NavigateForwardNavigate forward programatically.NavigateToNavigate to the specified folder.NavigateToParentNavigate to the parent folder.ObjPtrOnNavigationCompleteNotifies clients that the Explorer browser has successfully navigated to a Shell folder.OnNavigationEndingNotifies clients of a pending Explorer browser navigation to a Shell folder.OnNavigationFailedNotifies clients that the Explorer browser has failed to navigate to a Shell folder.OnNavigationPendingOnViewCreatedNotifies clients that the view of the Explorer browser has been created and can be modified.RemoveAllRemoves all items from the results folder.SetEmptyTextSets the default empty text.SetEventsSets a connection with **IExplorerBrowserEvents** for event callbacks.SetFolderSettingsSets the folder settings for the current view.SetOptionsSets the current browser options.SetPropertyBagSets the name of the property bag.SetRectSets the size and position of the view windows created by the browser.SetResultSets the last result code.UnadviseTerminates an advisory connection.

CFileStream 27

AttachAttaches the passed stream to the class.CloneCreates a new stream with its own seek pointer that references the same bytes as the original stream.CloseReleases the stream object.ConstructorCopyToCopies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.DetachDetaches the stream from the class.GetErrorInfoReturns a description of the specified error code.GetLastResultReturns the last result code.GetSeekPositionReturns the seek position.GetSizeReturns the size of the stream.LockRegionRestricts access to a specified range of bytes in the stream.OpenOpens or creates a file and retrieves a stream to read or write to that file.ReadReads a specified number of bytes from the stream into memory, starting at the current seek pointer.ReadTextAReads a specified number of characters from the stream into memory, starting at the current seek pointer, and returns them as an ansi string.ReadTextWReads a specified number of characters from the stream into memory, starting at the current seek pointer, and returns them as a unicode string.ResetSeekPositionSets the seek position at the beginning of the stream.SeekChanges the seek pointer to a new location. The new location is relative to either the beginning of the stream, the end of the stream, or the current seek pointer.SeekAtEndOfFileSets the seek position at the end of the stream.SeekAtEndOfStreamSetResultSets the last result code.SetSizeChanges the size of the stream.StatRetrieves the **STATSTG** structure for this stream.StreamPtrReturns a pointer to the underlying IStream interface.UnlockRegionRemoves the access restriction on a range of bytes previously restricted with *LockRegion*.WriteWrites a specified number of bytes into the stream starting at the current seek pointer.WriteTextAWrites an ansi string into the stream starting at the current seek pointer.WriteTextWWrites a unicode string into the stream starting at the current seek pointer.

CFileSys 65

BuildPathAppends a name to an existing path.ConstructorCopyFileCopies one or more files from one location to another.CopyFolderRecursively copies a folder from one location to another.CreateFolderCreates a folder.DateTimeToStringConverts a DATE_ type to a string containing the date and the time.DeleteFileDeletes a specified file.DeleteFolderDeletes a specified folder and its contents.DriveExistsChecks if the specified drive exists.DriveLettersReturns a semicolon separated list with the driver letters.FileExistsChecks for the existence of the specified file.FolderExistsChecks for the existence of the specified folder.GetAbsolutePathNameReturns complete and unambiguous path from a provided path specification.GetBaseNameReturns a string containing the base name of the last component, less any file extension, in a path.GetDriveAvailableSpaceReturns the amount of space available to a user on the specified drive or network share.GetDriveFileSystemReturns the type of file system in use for the specified drive or network share.GetDriveFreeSpaceReturns the amount of free space available to a user on the specified drive or network share.GetDriveNameReturns a string containing the name of the drive for a specified path.GetDriveShareNameReturns the network share name for a specified drive.GetDriveTotalSizeReturns the total space, in bytes, of a drive or network share.GetDriveTypeReturns a value indicating the type of a specified drive.GetErrorInfoReturns a description of the specified error code.GetExtensionNameReturns a string containing the extension name of the file for a specified path.GetFileAttributesReturns the attributes of files. Read/write or read-only, depending on the attribute.GetFileDateCreatedReturns the date and time that the specified file was created.GetFileDateLastAccessedReturns the date and time that the specified file was accessed.GetFileDateLastModifiedReturns the date and time that the specified file was modified.GetFileNameReturns a string containing the name of the file for a specified path.GetFileShortNameReturns the short name used by programs that require the earlier 8.3 file naming convention.GetFileShortPathReturns the short path used by programs that require the earlier 8.3 file naming convention.GetFileSizeReturns the size, in bytes, of the specified file.GetFileTypeReturns information about the type of a file.GetFileVersionReturns the version number of a specified file.GetFolderAttributesReturns the attributes of folders.GetFolderDateCreatedReturns the date and time that the specified folder was created.GetFolderDateLastAccessedReturns the date and time that the specified folder was last accessed.GetFolderDateLastModifiedReturns the date and time that the specified folder was last modified.GetFolderDriveLetterReturns a string containing the drive letter for a specified folder.GetFolderNameReturns a string containing the name of the folder for a specified path, i.e. the path minus the file name.GetFolderShortNameReturns the short name used by programs that require the earlier 8.3 file naming convention.GetFolderShortPathReturns the short path used by programs that require the earlier 8.3 file naming convention.GetFolderSizeReturns the size, in bytes, of all files and subfolders contained in the folder.GetFolderTypeReturns information about the type of a folder.GetLastResultReturns the last result code.GetNumDrivesReturns the number of drives.GetNumFilesReturns the number of files contained in a specified folder, including those with hidden and system file attributes set.GetNumSubFoldersReturns the number of folders contained in a specified folder, including those with hidden and system file attributes set.GetParentFolderNameReturns the folder name for the parent of the specified folder.GetSerialNumberReturns the decimal serial number used to uniquely identify a disk volume.GetStandardStreamReturns a TextStream object corresponding to the standard input, output, or error stream.GetStdErrStreamReturns a TextStream object corresponding to the standard error stream.GetStdInStreamReturns a TextStream object corresponding to the standard input stream.GetStdOutStreamReturns a TextStream object corresponding to the standard output stream.GetTempNameReturns a randomly generated temporary file or folder name that is useful for performing operations that require a temporary file or folder.GetVolumeNameReturns the volume name of the specified drive.IsDriveReadyReturns True if the specified drive is ready; False if it is not.IsRootFolderReturns True(-1) if the specified folder is the root folder; False(0) if it is not.MoveFileMoves one or more files from one location to another.MoveFolderMoves one or more folders from one location to another.SetFileAttributesSets the attributes of files.SetFileNameSets the name of a specified file.SetFolderAttributesSets the attributes of folders.SetFolderNameSets the name of a specified folder.SetResultSets the last result code.SetVolumeNameSets the volume name of the specified drive.

CFindFile 34

CloseEnds the search, resets the context and releases all resources.ConstructorCreationFileTimeReturns the time the file was created as a FILETIME.CreationSerialTimeReturns the time the file was created as a Date Serial.FileAttributesReturns the attributes of the last found file.FileExtReturns the extesion of the found file.FileNameReturns the name of the found file.FileNameXReturns the name and extension of the found file.FilePathReturns the full path of the found file.FileSizeReturns the size of the found file, in bytes.FileURLReturns the file URL.FindFileOpens a file search.FindNextSearches the next file.IsCompressedFileChecks if the found file is a compressed file.IsDotsCall this method to test for the current directory and parent directory markers while iterating through files.IsEncryptedFileChecks if the found file is an encrypted file.IsFileChecks if the found file is a file and not a folder.IsFolderChecks if the found file is a folder.IsHiddenFileChecks if the found file is a hidden file.IsNormalFileChecks if the found file is a normal file.IsNotContentIndexedFileChecks if the found file is not to be indexed by the content indexing service..IsOffLineFileChecks if the found file is not available immediately.IsReadOnlyFileChecks if the found file is a read only file.IsReparsePointFileChecks if the found file is is file or directory that has an associated reparse point, or a file that is a symbolic link.IsSparseFileChecks if the found file is a sparse file.IsSystemFileChecks if the found file is a system file.IsTemporaryFileChecks if the found file is a temporary file.LastAccessFileTimeReturns the time the file was last accessed as a FILETIME.LastAccessSerialTimeReturns the time the file was last accessed as a Date Serial.LastWriteFileTimeReturns the time the file was written to, truncated, or overwritten, as a FILETIME.LastWriteSerialTimeReturns the time the file was written to, truncated, or overwritten, as a Date Serial.MatchesMaskTests the file attributes on the found file.RootReturns the root of the found file.ShortFileNameReturns an alternative name for the file. This name is in the classic 8.3 file name format.

CIFileDialogCustomize 26

AddCheckButtonAdds a check button (check box) to the dialog.AddComboBoxAdds a combo box to the dialog.AddControlItemAdds an item to a container control in the dialog.AddEditBoxAdds an edit box control to the dialog.AddMenuAdds a menu to the dialog.AddPushButtonAdds a button to the dialog.AddRadioButtonListAdds an option button (also known as radio button) group to the dialog.AddSeparatorAdds a separator to the dialog, allowing a visual separation of controls.AddTextAdds text content to the dialog.EnableOpenDropDownEnables a drop-down list on the Open or Save button in the dialog.EndVisualGroupStops the addition of elements to a visual group in the dialog.GetCheckButtonStateGets the current state of a check button (check box) in the dialog.GetControlItemStateGetControlStateGets the current visibility and enabled states of a given control.GetEditBoxTextGets the current text in an edit box control.GetSelectedControlItemGets a particular item from specified container controls in the dialog.MakeProminentPlaces a control in the dialog so that it stands out compared to other added controls.RemoveControlItemRemoves an item from a container control in the dialog.SetCheckButtonStateSets the state of a check button (check box) in the dialog.SetControlItemStateSets the current state of an item in a container control found in the dialog.SetControlItemTextSets the text of a control item. For example, the text that accompanies a radio button or an item in a menu.SetControlLabelSets the text associated with a control, such as button text or an edit box label.SetControlStateSets the current visibility and enabled states of a given control.SetEditBoxTextSets the text in an edit box control found in the dialog.SetSelectedControlItemSets the selected state of a particular item in an option button group or a combo box found in the dialog.StartVisualGroupDeclares a visual group in the dialog. Subsequent calls to any "add" method add those elements to this group.

CIniFile 11

CIOpenFileDialog 36

AddFileTypeAdds a file type and pattern to the table. Usage example: pofd.AddFileType("FB code files", "*.bas;*.inc;*.bi") pofd.AddFileType("Executable files", "*.exe;*.dll") pofd.AddFileType("All files", "*.*") pofd.SetFileTypes()AddPlaceAdviseClearClientDataCloseConstructorGetCurrentSelectionGets the folder used as a default if there is not a recently used folder value available.GetFileNameRetrieves the text currently entered in the dialog's File name edit box.GetFileTypeIndexGets the file type that appears as selected in the dialog.GetFolderGets either the folder currently selected in the dialog, or, if the dialog is not currently displayed, the folder that is to be selected when the dialog is opened.GetIFileDialogPtrGetOptionsGets the current flags that are set to control dialog behavior.GetPtrGetResultGets the choice that the user made in the dialog.GetResultsGets the files selected. DIM pofd AS CIOpenFileDialog ' // Set the file types pofd.AddFileType("FB code files", "*.bas;*.inc;*.bi") pofd.AddFileType("Executable files", "*.exe;*.dll") pofd.AddFileType("All files", "*.*") pofd.SetFileTypes() ' // Multiple selection (default is single selection) DIM options AS FILEOPENDIALOGOPTIONS = pofd.GetOptions pofd.SetOptions(options OR FOS_ALLOWMULTISELECT) ' // Optional: Set the title of the dialog ' pofd.SetTitle("A Single-Selection Dialog") ' // Set the folder pofd.SetFolder(CURDIR) pofd.SetDefaultExtension("bas") pofd.SetFileTypeIndex(1) ' // Display the dialog DIM hr AS HRESULT = pofd.ShowOpen(hDlg) ' // Folder name PRINT "Folder: "; pofd.GetFolder ' *** Single selection *** ' // Get the result ' IF hr = S_OK THEN ' print pofd.GetResultString ' END IF ' *** Multiple selection *** ' // Get the results print "Folder: "; pofd.GetFolder DIM pItems AS IShellItemArray PTR pItems = pofd.GetResults IF pItems THEN DIM dwItemCount AS LONG pItems->lpVtbl->GetResultsCount(pItems, @dwItemCount) FOR idx AS LONG = 0 TO dwItemCount - 1 DIM pItem AS IShellItem PTR pItems->lpVtbl->GetItemAt(pItems, idx, @pItem) IF pItem THEN DIM pwszName AS WSTRING PTR pItem->lpVtbl->GetDisplayName(pItem, SIGDN_NORMALDISPLAY, @pwszName) IF pwszName THEN print *pwszName CoTaskMemFree(pwszName) pwszName = NULL END IF pItem->lpVtbl->Release(pItem) pItem = NULL END IF NEXT pItems->lpVtbl->Release(pItems) END IFGetResultsCountGetResultsStringGets the files selected and returns then in a comma separated string.GetResultStringGetSelectedItemsParseResultsSetCancelButtonLabelSetClientGuidSetDefaultExtensionSetDefaultFolderSets the folder used as a default if there is not a recently used folder value available.SetEventsSetFileNameSets the file name that appears in the File name edit box when that dialog box is opened.SetFileNameLabelSets the text of the label next to the file name edit box.SetFileTypeIndexSets the file type that appears as selected in the dialog. This method must be called before the dialog is showing. The index is one-based.SetFileTypesSets the file types that the dialog can open or save. This overloaded function uses the m_rgFilterSpec array to set the file types.SetFolderSets a folder that is always selected when the dialog is opened, regardless of previous user action.SetNavigationRootSetOkButtonLabelSets the text of the Open or Save button.SetOptionsSets flags to control the behavior of the dialog.SetTitleSets the title of the dialog.ShowOpen** Single selection *** // Get the result IF hr = S_OK THEN print pofd.GetResultString END IF ** Multiple selection *** DIM dwsRes AS DWSTRING = pofd.GetResultsString FOR i AS LONG = 1 TO pofd.GetResultsCount PRINT pofd.ParseResults(dwsRes, i) NEXTUnadvise

CISaveFileDialog 36

AddFileTypeAdds a file type and pattern to the table. Usage example: pofd.AddFileType("FB code files", "*.bas;*.inc;*.bi") pofd.AddFileType("Executable files", "*.exe;*.dll") pofd.AddFileType("All files", "*.*") pofd.SetFileTypes()AddPlaceAdviseApplyPropertiesClearClientDataCloseConstructorGetCurrentSelectionGets the folder used as a default if there is not a recently used folder value available.GetFileNameRetrieves the text currently entered in the dialog's File name edit box.GetFileTypeIndexGets the file type that appears as selected in the dialog.GetFolderGets either the folder currently selected in the dialog, or, if the dialog is not currently displayed, the folder that is to be selected when the dialog is opened.GetIFileDialogPtrGetOptionsGets the current flags that are set to control dialog behavior.GetPropertiesGetPtrGetResultGets the choice that the user made in the dialog.GetResultStringSetCancelButtonLabelSetClientGuidSetCollectedPropertiesSetDefaultExtensionSetDefaultFolderSets the folder used as a default if there is not a recently used folder value available.SetEventsSetFileNameSets the file name that appears in the File name edit box when that dialog box is opened.SetFileNameLabelSets the text of the label next to the file name edit box.SetFileTypeIndexSets the file type that appears as selected in the dialog. This method must be called before the dialog is showing. The index is one-based.SetFileTypesSets the file types that the dialog can open or save. This overloaded function uses the m_rgFilterSpec array to set the file types.SetFolderSets a folder that is always selected when the dialog is opened, regardless of previous user action.SetNavigationRootSetOkButtonLabelSets the text of the Open or Save button.SetOptionsSets flags to control the behavior of the dialog.SetPropertiesSetSaveAsItemSetTitleSets the title of the dialog.ShowSaveUnadvise

CMemMapFile 10

CMemStream 15

CMemTextStream 16

CTextStream 26

CloseCloses an open **TextStream** file.ColumnReturns the column number of the current character position in a **TextStream** file.ConstructorCreateCreates a file and returns a **TextStream** object that can be used to read from or write to the file.EOLReturns TRUE if the file pointer is positioned immediately before the end-of-line marker in a **TextStream** file; FALSE if it is not.EOSReturns TRUE if the file pointer is at the end of a **TextStream** file; FALSE if it is not.GetErrorInfoReturns a description of the specified error code.GetLastResultReturns the last result code.LineReturns the current line number in a **TextStream** file.OpenOpens a file and returns a **TextStream** object that can be used to read from, write to, or append to the file.OpenForAppendAOpens a file for append and returns a **TextStream** object that can be used to write to the file.OpenForAppendWOpens a file for append and returns a **TextStream** object that can be used to write to the file.OpenForInputAOpens a file for input and returns a **TextStream** object that can be used to read from the file.OpenForInputWOpens a file for input and returns a **TextStream** object that can be used to read from the file.OpenForOutputAOpens a file for putput and returns a **TextStream** object that can be used to write to the file.OpenForOutputWOpens a file for putput and returns a **TextStream** object that can be used to write to the file.OpenUnicodeOpens a file and returns a **TextStream** object that can be used to read from, write to, or append to the file.ReadReads a specified number of characters from a **TextStream** file and returns the resulting string.ReadAllReads an entire **TextStream** file and returns the resulting string.ReadLineReads an entire line (up to, but not including, the newline character) from a **TextStream** file and returns the resulting string.SetResultSets the last result code.SkipSkips a specified number of characters when reading a **TextStream** file.SkipLineSkips the next line when reading a **TextStream** file.WriteWrites a specified string to a **TextStream** file.WriteBlankLinesWrites a specified number of newline characters to a **TextStream** file.WriteLineWrites a specified string and newline character to a **TextStream** file.

CXmlWriter 5

CXmlWriterLite 60

ConstructorsCreates instances of the classes.CXmlReaderCXmlWriterDestructorsDestroys the classes and frees resources.Error codesXmlLite error codes and their associated symbolic codes and descriptions.FlushFlushes whatever is in the buffer to the underlying stream and then flushes the underlying stream.GetAttributeCountReturns the number of attributes in the current node.GetBaseUriGets the base URI of the token, if applicable.GetDepthReturns the depth of the current node in the document.GetErrorInfoReturns a description of the last result code.GetLastResultGetLineNumberGets the line number where the reader is positioned in the document.GetLinePositionGets the line position where the reader is positioned in the document.GetLocalNameAllows the client to determine the difference between elements that have a closing tag, but do not contain content, and elements that do not have a closing tag.GetNamespaceUriGets the namespace URI of the node that the reader is currently positioned on.GetNodeTypeProvides the type of the current node.GetPrefixGets the namespace prefix of the node that the reader is currently positioned on.GetPropertyReturns the specified property. A program can get properties at any time.GetQualifiedNameGets the qualified name of the node that the reader is currently positioned on.GetValueReturns the value of the current token, if applicable.IsDefaultIndicates whether the attribute was specified in the source document or implied by the Document Type Definition (DTD).IsEmptyElementAllows the client to determine the difference between elements that have a closing tag, but do not contain content, and elements that do not have a closing tag.IsEOFReturns TRUE if the end of the input is reached.IXmlReader PropertiesYour application can get properties via the **GetProperty** (IXmlReader) method, and can set properties via the **SetProperty** (IXmlReader) method.IXmlWriter PropertiesYour application can get properties via the **GetProperty** (IXmlWriter) method, and can set properties via the **SetProperty** (IXmlWriter) method.MoveToAttributeByNameMoves the reader to the attribute with the specified name.MoveToElementMoves to the element that owns the current attribute node.MoveToFirstAttributeMoves the reader position to the first attribute within the current node.MoveToNextAttributeAdvances the reader to the next attribute.ReadReads the next node from the stream and returns the type of the node.ReadValueChunkReads up to a maximum of the specified chunk size (as available) from the value of the current node and copy the value into the specified buffer.SetInputSets the input source of the XML document to be parsed.SetOutputSets the output stream for the writer.SetPropertySets the specified property.SetResultSets the last result code.WriteAttributesCopies attributes from the specified source IXmlReader to the IXmlWriter.WriteAttributeStringWrites an attribute.WriteCDataWrites out a CDATA section that contains the specified text.WriteCharEntityWrites a character entity for the provided Unicode character value.WriteCharsWrites out the specified text content, escaping markup.WriteCommentWrites out a comment that contains the specified text.WriteDocTypeWrites out the <!DOCTYPE ...> declaration with the specified name and optional attributes.WriteElementStringWrites out an element with the specified prefix, name, namespace, and value.WriteEndDocumentCloses any open elements or attributes, then closes the current document.WriteEndElementCloses one element.WriteEntityRefWrites out an entity reference with the specified name.WriteFullEndElementCloses one element and pops the corresponding namespace scope.WriteNameWrites out the specified name, ensuring that the name is valid according to the XML specification.WriteNmTokenWrites out the specified name, ensuring that the name is a valid NmToken according to the XML specification.WriteNodeCopies the current node from the specified source IXmlReader to the IXmlWriter.WriteNodeShallowCopies the current node from the specified source IXmlReader to the IXmlWriter, without writing the children of the current node.WriteProcessingInstructionWrites a processing instruction.WriteQualifiedNameWrites out the specified namespace-qualified name by looking up the prefix that is in scope for the specified namespace.WriteRawEnables the caller to write out raw markup manually.WriteRawCharsWrites out raw markup manually.WriteStartDocumentWrites out the XML declaration with the version "1.0". The encoding attribute is determinedby the implementation of IXmlWriterOutput. By default, the encoding is UTF-8.WriteStartElementWrites out the specified start tag and associates it with the specified namespace.WriteStringWrites out the specified text content, escaping any markup in the content.WriteSurrogateCharEntityForces the generation of a surrogate character entity for the specified string value.WriteWhitespaceWrites out the specified white space.

JsonReader 4

JsonWriter 4

Procedures 51

AddFileTypeAdds a file type and pattern to the table.AddPlaceAdds a folder to the list of places available for the user to open or save items.AdviseAssigns an event handler that listens for events coming from the dialog.AfxSHCreateMemStreamAfxSHCreateStreamOnFileExApplyPropertiesApplies a set of properties to an item using the Shell's copy engine.ClearClientDataInstructs the dialog to clear all persisted state information.CloseCloses the dialog.GetCurrentSelectionGets the user's current selection in the dialog.GetFileNameRetrieves the text currently entered in the dialog's File name edit box.GetFileTypeIndexGets the currently selected file type.GetFolderGets either the folder currently selected in the dialog, or, if the dialog is not currently displayed, the folder that is to be selected when the dialog is opened.GetIFileDialogPtrReturns the underlying **IFileDialog** interface pointer.GetOptionsGets the current flags that are set to control dialog behavior.GetPropertiesRetrieves the set of property values for a saved item or an item in the process of being saved.GetPtrReturns the underlying **IFileOpenDialog** interface pointer.GetResultGets the choice that the user made in the dialog.GetResultStringGets the choice that the user made in the dialog as a string.JSonUnquoteWOnButtonClickedCalled when the user clicks a command button.OnCheckButtonToggledCalled when the user changes the state of a check button (check box).OnControlActivatingCalled when an **Open** button drop-down list customized through **EnableOpenDropDown** or a Tools menu is about to display its contents.OnFileOkCalled just before the dialog is about to return with a result.OnFolderChangeCalled when the user navigates to a new folder.OnFolderChangingCalled before IFileDialogEvents::OnFolderChange. This allows the implementer to stop navigation to a particular location.OnOverwriteCalled from the save dialog when the user chooses to overwrite a file.OnSelectionChangeCalled when the user changes the selection in the dialog's view.OnShareViolationEnables an application to respond to sharing violations that arise from Open or Save operations.OnTypeChangeCalled when the dialog is opened to notify the application of the initial chosen filetype.SetCancelButtonLabelAdds a folder to the list of places available for the user to open or save items.SetClientGuidEnables a calling application to associate a GUID with a dialog's persisted state.SetCollectedPropertiesSpecifies which properties will be collected in the save dialog.SetDefaultExtensionSets the default extension to be added to file names.SetDefaultFolderSets the folder used as a default if there is not a recently used folder value available.SetEventsAssigns an event handler that listens for events coming from the dialog.SetFileNameSets the file name that appears in the File name edit box when that dialog box is opened.SetFileNameLabelSets the text of the label next to the file name edit box.SetFileTypeIndexSets the file type that appears as selected in the dialog.SetFileTypesSets the file types that the dialog can open or save.SetFolderSets a folder that is always selected when the dialog is opened, regardless of previous user action.SetNavigationRootSpecifies a top-level location from which to begin browsing a namespace, for instance in the Save dialog's Browse folder option. Users cannot navigate above this location.SetOkButtonLabelSets the text of the Open or Save button.SetOptionsSets flags to control the behavior of the dialog.SetPropertiesProvides a property store that defines the default values to be used for the item being saved.SetSaveAsItemSets an item to be used as the initial entry in a **Save** As dialog.SetTitleSets the title of the dialog.ShowOpenShowSaveDisplays the save file dialog.TemplateTemplate code that implements the **FileDialogEvents** callback interface.Template2Template code that implements the **FileDialogEvents** and **IFileDialogControlEvents** callback interfaces.UnadviseRemoves an event handler that was attached through the **Advise** method.

SaveFileDialog 9