c# - How can I allow my program to open a file when "Open with" is used? -


i have written word processor in c#. allow program open files when user right clicks file , selects "open with" , selects program. how can implement such feature program? currently, way user can open file using openfiledialog.

as of now, if user chooses "open with" , selects program, doesn't open file selected.

what best way implement feature?

"open with" passes file name argument application.

take @ args parameter here.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -