How do I in C# 'lock' the openfile dialog to only accept to browse from the default location and not any other location. In the code below one can browse any location.I want the user to only browse C:\Users\Public\Pictures and nowhere else. Does anyone know how?
Microsoft.Win32.OpenFileDialog ofd = new Microsoft.Win32.OpenFileDialog();
ofd.FileName = ".jpg";
ofd.InitialDirectory = "C:\\Users\\Public\\Pictures";