Private sourcePath As String Private destPath As String With OpenFileDialog1 .FileName = "DC_BACKUP" .Title = "Locate DC_BACKUP.zip" .InitialDirectory = Environment.SpecialFolder.Desktop .Filter = ".ZIP (*.zip) |*.zip" If .ShowDialog = Windows.Forms.DialogResult.OK Then Try destPath = .SelectedPath '*RIGHT HERE IS WHERE I NEED HELP FOR GETTING THE SELECTEDPATH* sourcePath = destPath Directory.CreateDirectory(Application.StartupPath + "\SavedFiles\DC_BACKUP") CopyDir.CopyAll(New DirectoryInfo(sourcePath), New DirectoryInfo(Application.StartupPath + "\SavedFiles\DC_BACKUP\")) UnZipFolder(Application.StartupPath + "\SavedFiles\DC_BACKUP\SavedFiles.zip", Application.StartupPath + "\SavedFiles\") Catch ex As Exception End Try End If End With
FileName
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)