Hey guys I've found a couple of posts about this but I just can't seem to pull it off in my program. What I want to do is use 'OpenFileDalog' to take the filename from a file the user selects, so I can assign it to a variable. I dont want the the path or file extention.
Heres the program i want to change:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim openFile As String
openFile = OpenFileDialog1.FileName
Text1.Text = openFile