ethanhs / Explore10

Modern File Explorer
GNU General Public License v3.0
29 stars 9 forks source link

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

Open Krutonium opened 8 years ago

Krutonium commented 8 years ago

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

ethanhs commented 8 years ago

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

Krutonium commented 8 years ago

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

ethanhs commented 8 years ago

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