-1

I am trying to open a file (it could be word/excel or any other type of file) from my windows application. I do Not want to read the file contents using FileStream but want to open the file like one would just double click the file to open and it opens the file in its respective application.

Could any one help me to achieve this from c# code?

Thanks.

V.B
  • 1,191
  • 7
  • 29
  • 55

1 Answers1

0

Try this:

System.Diagnostics.Process.Start("yourFilePath");
daniell89
  • 1,832
  • 16
  • 28