Explore10 icon indicating copy to clipboard operation
Explore10 copied to clipboard

If no program is associated with a file when you double click it, the application crashes.

Open Krutonium opened this issue 9 years ago • 3 comments

ExploreView.xaml.cs

private void openFile(object sender, RoutedEventArgs e) { FileItem item = (FileItem)sender; Process.Start(item._filepath); < Here }

Exception thrown: 'System.ComponentModel.Win32Exception' in System.dll

Krutonium avatar Nov 05 '15 04:11 Krutonium

Hm. I should look into this. That is a problem.

emmatyping avatar Nov 05 '15 04:11 emmatyping

Updated the post, didn't mean to post yet.

Krutonium avatar Nov 05 '15 04:11 Krutonium

Yeah, I was expecting that starting a process without exception checking is a bad idea

emmatyping avatar Nov 05 '15 04:11 emmatyping