Hi All,
I want to write C# code to identify a file type and open the file in
the associated editor.
For example, text files should be identified and opened in notepad,
html should be opened in internet explorer/netscape/mozilla.
At design time, I do not know if internet explorer/netscape is
installed on the client machine. The C# code should identify that and
open.
Please help.
Regards,
Shilpa
Brendan Green - 23 Mar 2006 00:07 GMT
If you just execute the file via System.Diagnostics.Process.Start(...) it'll
be opened with whatever program is associated with the extension.
> Hi All,
>
[quoted text clipped - 10 lines]
> Regards,
> Shilpa