Click here to Skip to main content
       

C#

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionAdd a Menu Item to the operating system contextmenumemberbenzarabel12 Nov '12 - 9:48 
Hi.
I have an application that store PDF file in a library and do some other stuff like filtering, searching ...
what i want to do is the next:
when the user hit any pdf file in the windows explorer with the left mouse button, I want to add a menu item to that context menu (of the operating system)"Add this book to library for example", so that i can add this file to my app data base without openning the whole application,(using another sub program that took the path of this file).
is there any way to do this please using C#.
AnswerRe: Add a Menu Item to the operating system contextmenumemberEddy Vluggen12 Nov '12 - 10:44 
"The Operating System"?
 
This is hard enough in Windows, let alone you venture out to other platforms! Extending the system is not what a typical application does, hence it's not part of the framework. You'd need to write a Shell Extension[^], which has become a bit harder since the introduction of 64-bit machines.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

GeneralRe: Add a Menu Item to the operating system contextmenumemberbenzarabel12 Nov '12 - 10:51 
Thanks Eddy Vluggen, that was very helpfull.
GeneralRe: Add a Menu Item to the operating system contextmenumemberEddy Vluggen12 Nov '12 - 11:18 
You're welcome Smile | :)

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 24 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid