Description
Add dialog component to form and write this code :
savedialog1.InitialDirectory = "D:\" 'setup initial directory savedialog1.Filter = "Text Files (*.txt)|*.txt" 'Create type extention file If savePathPasuruan.ShowDialog = DialogResult.OK Then 'if result ok Else 'if result false End If