Change the default Open With

Posted by emptyheaded on Stack Overflow See other posts from Stack Overflow or by emptyheaded
Published on 2012-06-12T04:31:59Z Indexed on 2012/06/12 4:40 UTC
Read the original article Hit count: 139

Filed under:
|
|

How can I change the program a file is opened with by default (or at least add that program in the list of programs from Open With... ) using C# or VB.NET ?

What I mean is, I would like to have programs with the extension abc open by default by the program abc.exe. Or, have the program abc.exe in the list of programs that will be shown in the context menu on the "Open With" option, for files with extension "xls".

© Stack Overflow or respective owner

Related posts about c#

Related posts about vb.net