I would like to know how to open a file in your native program with C#
.
Example:
I have a file.xls
(worksheet). When I want to open it, my system makes a request and opens it in excel.
Thank you in advance
I would like to know how to open a file in your native program with C#
.
Example:
I have a file.xls
(worksheet). When I want to open it, my system makes a request and opens it in excel.
Thank you in advance
Use the Process class:
System.Diagnostics.Process.Start("myFile.xls");