Code:
Private Sub Form_Load()
CommonDialog1.ShowOpen
Text1.Text = CommonDialog1.FileName
End Sub
Is a way to browse for file and display it in a textbox
you'll need to use some buttons (search for text in textbox) to get the other part
try it may just get it on your own with a little help