Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!
Private Sub cmdSave_Click() Dim sFilePathAndName as String On Error Goto cmdSave_Exit With dlgFolder .CancelError = True .DefaultExt = ".txt" .Filter = "Text File (*.txt)|*.txt" .DialogTitle = "Save As" .flags = cdlOFNExplorer + cdlOFNNoReadOnlyReturn + cdlOFNOverwritePrompt _ + cdlOFNPathMustExist .ShowSave sFilePathAndName = .FileName End With ' trivial case to show problem ' just exit the form and leave the application running, ' then try to eject the removable media Debug.Print sFilePathAndName cmdSave_Exit: Unload Me End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.