Following example shows how to use savefiledialog for selecting the path for saving the file in vb.net.
Private Sub Button1_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click Dim objDlg As SaveFileDialog = New SaveFileDialog() Dim objDlgResult As DialogResult = objDlg.ShowDialog() If objDlgResult = Windows.Forms.DialogResult.OK Then 'write your code End If End Sub