|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Identify a file type and open the fileHi 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 And your problem/question is?
Show quote "Shilpa" <shilpa.nagav***@unisys.com> wrote in message news:1143004745.329180.205760@i39g2000cwa.googlegroups.com... > 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 > |
|||||||||||||||||||||||