How to create file browser dialogue in Microsoft Visual C#.
Source code viewer
fd.Filter = "CSV|*.csv"; // allow csv file only fd.InitialDirectory = input_file_dir.Text; // load same dir on second load fd.ShowDialog(); // show user the dialog if (fd.FileName.Length > 1) // so that if you press cancel second time, the dir won't be erazed input_file_dir.Text = fd.FileName; // write the file dir to somewhere, I used labelProgramming Language: C#