Assign Fileextension to application

H

Howie Meier

Hi NG,

i want to assign any file with an spezial Extension to an C#
application.

I know how to link the extension in the explorer options to an
application. Can this be done automaticaly ?

How can the application get the commandline parameters during the
start ?

(I am an MFC/C++ programmer and a newbie in C#)

Thanks in advance,

Howie
 
T

Tom Shelton

Howie said:
Hi NG,

i want to assign any file with an spezial Extension to an C#
application.

I know how to link the extension in the explorer options to an
application. Can this be done automaticaly ?

How can the application get the commandline parameters during the
start ?

(I am an MFC/C++ programmer and a newbie in C#)

Thanks in advance,

Howie

Howie,

You have to basic options as I see it. You can create a setup and
deployment project and create the association on install of your
application - or you can use the Microsoft.Win32.Registry classes to
create the proper keys.
 

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