Opening File with Unknown Extension C#

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.
 
P

Peter Duniho

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
 
A

Abhi

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..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top