954,505 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How can one add his application to the right click mouse

I developed a C# application that treats text files like a block note or word within Visual Studio 2005 and I want to add it to the right click event of the mouse so that if I set a focus uppon a text file in the desktop for example and I right click, I find my application in the list.

Jugortha
Junior Poster
172 posts since Oct 2007
Reputation Points: 11
Solved Threads: 16
 

In wizard setup project aka deployment project you can register files extension your executable can open, and you can also add an item to Windows Context menu when user rights click on your specific files extensions.
If you didn't get me, I'll write for you step by step how can you do it!

Ramy Mahrous
Postaholic
2,196 posts since Aug 2006
Reputation Points: 480
Solved Threads: 276
 

I think that I need to get a step by step procesure to do that
chokran rami

Jugortha
Junior Poster
172 posts since Oct 2007
Reputation Points: 11
Solved Threads: 16
 

From your solution
1- Add new project from type "Setup and Deployment" and select Setup Wizard

2- Next, next, (Select primary output) next, then finish

3- you'll find two panes opened

4- Right click on the setup project on solution explorer and select View->File types

5- The left pane shows File types on target machine

6- Right click on it then Add new file type rename it

7- From its properties select the executable to be opened and the extension associated with it (the extension you need when user right click on it appear your custom item in Windows menu)

Need more help, send me again!

Ramy Mahrous
Postaholic
2,196 posts since Aug 2006
Reputation Points: 480
Solved Threads: 276
 

chokran jazilan

Jugortha
Junior Poster
172 posts since Oct 2007
Reputation Points: 11
Solved Threads: 16
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You