After performing the data processing program from excel file, I have packaged programs and settings for users. The requirement is the installation program, users right-click on excel file and select the icon of the program, will load content to excel file processing (although he can do this from the select the path to excel file from the program). I made the following:
1. Right click on the project to bring up the context menu. Now select “Properties”.
2. In the projects property window select “Application”.
3. There is one entry that says “Icon and manifest”.
4. Right beside the textbox for the Icon is a button, which will bring up a file browser dialog.
5. Click on that button and select your icon file.
However, problems occur:
"This file does not have a program associated with it for performing this action"
I understand that I have not been transfer parameter of excel file in my program. Although, if select path to excel file from program, the program is still read data from excel file.