manhthaodn 0 Light Poster

I am implementing programs for the purpose of processing data from excel file.

When package to install my program (use visual studio setup project). I am having a problem as follows.

1. How do you install the program, the program's icon is added to context menu (Eg: when I right click on excel file (.xls) will see the icon of the program (my program'name). This work similar to when right click on the file extension .rar will see winrar program. I want to know whether visual studio setup project can not support this? Or to write code.

2. And how to transmit parameters into my program. My goal when I right-click the excel file and select icon my program from context menu, then my program will read data from that excel file.

I know this is a common task of a software program. But I'm really confused with it.