I am just finishing the coding of a document storage solution, and I ran into the following problem. In the user interface, the user can click a button to open the file:
try
{
Process.Start(file);
}
catch (Exception ex)
{
}
My problem is that if the user does not have an application associated with the file type, a model component exception is thrown with a message about this.
I would prefer the Open With dialog box to appear in this situation, do I have a call method?
source
share