Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Open With Dialog box when file format not recognized

Tags:

c#

winforms

Friends.,

I Creating an excel Sheet Through my code, then opening that created Excel through MS office, If MS Office Not Installed in that Particular PC means "open with" Dialog Box Have to appear to open that Created Excel Sheet..

What can I do..??

like image 273
prabhuK2k Avatar asked Jul 14 '11 05:07

prabhuK2k


2 Answers

Please use System.Diagnostics in using or

 System.Diagnostics.Process.Start("FullFileNamePath"); 

Information will be helpful for beginners like me.

like image 197
Ramesh K Avatar answered Nov 15 '22 00:11

Ramesh K


Please use System.Diagnostics in using or

 System.Diagnostics.Process.Start("FullFileNamePath"); 
like image 24
user3160019 Avatar answered Nov 14 '22 23:11

user3160019