Solved

Extend the  shell popup menu

Posted on 1997-06-03
2
158 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now