Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

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

Open
Krutonium opened this issue Nov 5, 2015 · 3 comments
Labels

Comments

@Krutonium
Copy link
Collaborator

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

@emmatyping
Copy link
Owner

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

@Krutonium
Copy link
Collaborator Author

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

@emmatyping
Copy link
Owner

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

@emmatyping emmatyping added the bug label Nov 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants