Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Extend the  shell popup menu

Posted on 1997-06-03
2
Medium Priority
?
181 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
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

Industry Leaders: 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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

885 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