I found the code on the net to open a file dialog
Protected Sub btnAttach_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAttach.Click
Dim fdlg As OpenFileDialog = New OpenFileDialog()
fdlg.Title = "C# Corner Open File Dialog"
fdlg.InitialDirectory = "c:\"
fdlg.Filter = "All files (*.*)|*.*|All files (*.*)|*.*"
fdlg.FilterIndex = 2
fdlg.RestoreDirectory = True
fdlg.ShowDialog()
txtAttachment.Text = fdlg.FileName
End Sub
but it produces an error that says Go to the complete details ...