Adding my app's link to Desktop Context Menu
-
When you right click on the desktop you get a context menu that has something like that: ----------------------- Arrange Icons By Refresh ----------------------- Paste Paste Shortcut ----------------------- New ----------------------- Properties ----------------------- I need to add a link to my application on Desktop's context menu. How can I accomplish that? What registry key do I need to modify/add to get my app icon listed on the desktop context menu? E.g.: --------------------------- Arrange Icons By > Refresh --------------------------- My App Link > Paste Paste Shortcut --------------------------- New --------------------------- Properties --------------------------- Please help. Thanks.
You posted the exact same question 4 hours ago. Don't. What you're doing is considered very rude and will only get you ignored. We don't get paid to answer everyones questions. We do this on a volunteer basis, when we can, for as long as we can. Myself, I just woke up 30 minutes ago. Sorry if I wanted to get some breakfast before diving into your question.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
You posted the exact same question 4 hours ago. Don't. What you're doing is considered very rude and will only get you ignored. We don't get paid to answer everyones questions. We do this on a volunteer basis, when we can, for as long as we can. Myself, I just woke up 30 minutes ago. Sorry if I wanted to get some breakfast before diving into your question.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008Dave Kreskowiak wrote:
I just woke up 30 minutes ago
Good Morning to you. :) I don't know why you can't answer questions when you are asleep. I do some of my best work whilst asleep.
*Developer Day Scotland - Free community conference Delegate Registration Open
-
Dave Kreskowiak wrote:
I just woke up 30 minutes ago
Good Morning to you. :) I don't know why you can't answer questions when you are asleep. I do some of my best work whilst asleep.
*Developer Day Scotland - Free community conference Delegate Registration Open
-
Dave Kreskowiak wrote:
I just woke up 30 minutes ago
Good Morning to you. :) I don't know why you can't answer questions when you are asleep. I do some of my best work whilst asleep.
*Developer Day Scotland - Free community conference Delegate Registration Open
Ahhh...Breakfast was good! I get today off, so I slept in! :thumbsup: Now, where were we?? :-D On yeah! Context menus and some guy who cross posts! Here's an example for you import using RegEdit to add Notepad to the context menu:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell]
[HKEY_CLASSES_ROOT\*\shell\Notepad]
[HKEY_CLASSES_ROOT\*\shell\Notepad\command]
@="\"C:\\Windows\\Notepad.exe\" \"%1\""A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Ahhh...Breakfast was good! I get today off, so I slept in! :thumbsup: Now, where were we?? :-D On yeah! Context menus and some guy who cross posts! Here's an example for you import using RegEdit to add Notepad to the context menu:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell]
[HKEY_CLASSES_ROOT\*\shell\Notepad]
[HKEY_CLASSES_ROOT\*\shell\Notepad\command]
@="\"C:\\Windows\\Notepad.exe\" \"%1\""A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Now if only you could telepathically port your dream code into actual code......
Any suggestions, ideas, or 'constructive criticism' are always welcome. "There's no such thing as a stupid question, only stupid people." - Mr. Garrison
All my coding works like a dream :cool: (Well, in my dreams anyway)
Steve Jowett ------------------------- Real programmers don't comment their code. If it was hard to write, it should be hard to read.
-
Ahhh...Breakfast was good! I get today off, so I slept in! :thumbsup: Now, where were we?? :-D On yeah! Context menus and some guy who cross posts! Here's an example for you import using RegEdit to add Notepad to the context menu:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell]
[HKEY_CLASSES_ROOT\*\shell\Notepad]
[HKEY_CLASSES_ROOT\*\shell\Notepad\command]
@="\"C:\\Windows\\Notepad.exe\" \"%1\""A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008Sorry it is not working properly please provide me step by step solution. Thanks
-
Sorry it is not working properly please provide me step by step solution. Thanks
OK, you save the sample I gave you as a .REG file. Just copy'n'paste it into Notepad to do that. Then you edit the registry data to provide the correct command line to launch your app, and write it in the correct format, escaping the proper characters as you go, then save it. Then you double-click that file so RegEdit will import it.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Ahhh...Breakfast was good! I get today off, so I slept in! :thumbsup: Now, where were we?? :-D On yeah! Context menus and some guy who cross posts! Here's an example for you import using RegEdit to add Notepad to the context menu:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell]
[HKEY_CLASSES_ROOT\*\shell\Notepad]
[HKEY_CLASSES_ROOT\*\shell\Notepad\command]
@="\"C:\\Windows\\Notepad.exe\" \"%1\""A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008It's too long span plz provide me your answer
-
It's too long span plz provide me your answer
Uhhh...you realize this was over 2 years ago, correct?? I gave you everything you need to come up with your own solution. All it took was a tiny bit of effort on your part. No, I'm not coding this for you.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak