How to use Open With Dialog when the file format is not recognized

Friends.

I Create an excel sheet Through my code, and then open the created Excel through the MS office, If MS Office is not installed on this particular PC, it means "open with" a dialog box. It should appear to open this "Created Excel worksheet."

What can I do???

+7
source share
3 answers

You tried

Process.Start("FullFileNamePath"); 

if an open file with an open window is not displayed, it displays a message to select a program from the list of installed programs.

0
source

Use System.Diagnostics when using or

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

The information will be useful for beginners like me.

+1
source

Use System.Diagnostics when using or

  System.Diagnostics.Process.Start("FullFileNamePath"); 
+1
source

All Articles