[csharp]
OpenFileDialog fd = new OpenFileDialog();
fd.InitialDirectory = Path.GetFullPath(Environment.GetFolderPath(Environment.SpecialFolder.Desktop));
fd.ShowDialog();
MessageBox.Show(fd.FileName); // show the selected File path
[/csharp]
[csharp]
OpenFileDialog fd = new OpenFileDialog();
fd.InitialDirectory = Path.GetFullPath(Environment.GetFolderPath(Environment.SpecialFolder.Desktop));
fd.ShowDialog();
MessageBox.Show(fd.FileName); // show the selected File path
[/csharp]