Opening File with Unknown Extension C#

  • Thread starter Thread starter Abhi
  • Start date Start date
A

Abhi

Hi,
I want to open a File with unknown Extension using C#. What i want
is
i do System.Diagnostics.Process.Start("FileName");
Now if File is associated with any program then the File with open
with that Application, this is working fine.

My requirement says, if file extension is unknown or not associated
with any application then, it should open the Default windows Program
association box and allow user to select a program to open that file.


Thanks.
Abhijeet Kumar.
 
I want to open a File with unknown Extension using C#. [...]

Please do not multi-post. Use the correct cross-posting technique of
listing multiple newsgroups in the "Newsgroup" field of your message.
Your question is already being addressed in
microsoft.public.dotnet.languages.csharp.

Pete
 
I want to open a File with unknown Extension using C#. [...]

Please do not multi-post. Use the correct cross-posting technique of
listing multiple newsgroups in the "Newsgroup" field of your message.
Your question is already being addressed in
microsoft.public.dotnet.languages.csharp.

Pete

Hi
Sorry for Multi-post, But the solution provided there is not working,
and it is Urgent.

Abhi..
 
Back
Top