title: How to add custom context menu to system right click menu
body: <p>I have developed Windows form application, that will protect word, excel and PDF file with password.</p>
  
  <p>My application is providing UI for browsing files to select for encryption.</p>
  
  <p>Now i need to add more functionality like, when user right click on any Word, Excel or PDF file in windows explorer then in right click menu i need to add my item, which will select that file and invoke my application with it and that file is shown selected in my application.</p>
  
  <p>in short, i need to add menu entry in system right click menu having my application icon, for example same as winrar and winzip software provide their item in system right click menu.</p>
  
  <p>I have searched it over Google and nothing found help full, just found solution to add registry entry to <strong>shell</strong> but nothing found regarding adding icon along with it, how to get selected file's path to open it with my application from right click. and how to add it with setup project to register at the time of installation and un-register at the time of un-installtion.</p>
  
  <p>I have developed my application with the help of VS2010 and C# 3.5.</p>