C#, WPF - OpenFileDialog does not appear
I have been searching up and down the web and unfortunately never came across an issue quite like mine, so here goes: My C# WPF application won't show me no OpenFileDialogs or SafeFileDialogs. private void btnBrowseNet_Click(object sender, RoutedEventArgs e) { OpenFileDialog ofd = new OpenFileDialog(); ofd.CheckPathExists = true; ofd.Multiselect = false; ofd.Title = "Open Network Configuration Batch file..."; ofd.ValidateNames = true; ofd.Filter = "Comma Seperated Value Files|*.csv"; if (ofd.ShowDialog() == true) { //... } } This exact code does in one occasion exactly what it is supposed to