Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / June 2007

Tip: Looking for answers? Try searching our database.

Opening File with Unknown Extension C#

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Abhi - 04 Jun 2007 20:29 GMT
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.
Peter Duniho - 04 Jun 2007 20:33 GMT
>  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
Abhi - 04 Jun 2007 21:10 GMT
On Jun 4, 3:33 pm, "Peter Duniho" <NpOeStPe...@nnowslpianmk.com>
wrote:
> >  I want to open a File with unknown Extension using C#. [...]
>
[quoted text clipped - 4 lines]
>
> Pete

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

Abhi..

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.