How can I make a "browse for file.." button in VB.net? -


I am trying to create a simple FTP uploader how can I create it so that users choose a file to upload Could? Look, what I want is a button (which I do) that a user can click, and it shows the OpenFileDialog (which I have), but then when they choose a file, I want to That his path should be shown in the text box. How can I do this?

Try the following code

  New OpenFileDialog as a slow dialogue ) If DialogResult.OK = dialog.ShowDialog then TextBox1.Text = dialog.FileName end if  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -