?
Solved

Extend the  shell popup menu

Posted on 1997-06-03
2
Medium Priority
?
180 Views
Last Modified: 2006-11-17
How can add items to the system pop up menu?
The items that i will add will call my exe file.
i.e: like WinZip add's it's 'add to zip', or like adding an my own item next to properties of 'my computer'.
I need to add my new entry to every pop up menu availble. i need the option not to show my new entry if neeeded.
0
Comment
Question by:DarkAge
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
ChrisLewis earned 100 total points
ID: 1426790
Edit the Registry for the extention that you want your menu to appear.

For Example, the MIDI player REG entry looks like this
(.MID files are of type midfile)

HKEY_CLASSES_ROOT\midfile\shell="Open"
HKEY_CLASSES_ROOT\midfile\shell\open="Open"
HKEY_CLASSES_ROOT\midfile\shell\open\command="C:\\WINDOWS\\mplayer.exe %1"
HKEY_CLASSES_ROOT\midfile\shell="Play"
HKEY_CLASSES_ROOT\midfile\shell\play="Play"
HKEY_CLASSES_ROOT\midfile\shell\play\command="C:\\WINDOWS\\mplayer.exe /play /close %1"

If you wanted to add a View command, you add the lines

HKEY_CLASSES_ROOT\midfile\shell="View"
HKEY_CLASSES_ROOT\midfile\shell\View="View"
HKEY_CLASSES_ROOT\midfile\shell\View\command="C:\\MYPROG.EXE  %1"

This should help

Chris

So you are basically adding the sub-key View, a sub-key under view called command, and a

0
 
LVL 1

Author Comment

by:DarkAge
ID: 1426791
Edited text of question
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question