473,387 Members | 1,621 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

explorer context menus

Hi,
If I modify my Registry adding a new key HKEY_CLASSES_ROOT\*\shell\Use My
App\command with a (Default) Value of C:\Program
Files\Doug\DotNetApps\MyApp.exe "%1" then right clicking on files in the
Explorer Windows opens the context menu with the option "Use My App" and
selecting this runs My App with the selected file name.
Just as I wanted.

The problem I now have is that double clicking a Visual Studio file (.sln)
also starts My App rather than starting my installed program My App instead
of starting Visual Studio.

I also have a problem with the deployment of My App, it adds the new keys to
the registry correctly but leaves me with 2 (Default) keys one blank and one
set as intended. When this happens neither My App or Visual Studion work
from the context menu.

I have hunted the web. Is there some information on the microsoft site on
Explorer Context Menus (not IE Context Menus).

Thanks
Doug
Oct 11 '05 #1
1 1514
Hi,
Found the MS write up on Explorer Context Menus and Context Handlers.

Doug

"Doug Bell" <Po*********@vodaphone.com.au> wrote in message
news:ed*************@tk2msftngp13.phx.gbl...
Hi,
If I modify my Registry adding a new key HKEY_CLASSES_ROOT\*\shell\Use My
App\command with a (Default) Value of C:\Program
Files\Doug\DotNetApps\MyApp.exe "%1" then right clicking on files in the
Explorer Windows opens the context menu with the option "Use My App" and
selecting this runs My App with the selected file name.
Just as I wanted.

The problem I now have is that double clicking a Visual Studio file (.sln)
also starts My App rather than starting my installed program My App instead of starting Visual Studio.

I also have a problem with the deployment of My App, it adds the new keys to the registry correctly but leaves me with 2 (Default) keys one blank and one set as intended. When this happens neither My App or Visual Studion work
from the context menu.

I have hunted the web. Is there some information on the microsoft site on
Explorer Context Menus (not IE Context Menus).

Thanks
Doug

Oct 11 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Eddie de Bear | last post by:
Hi, A project I am working on has a requirement for dynamic menus. For the most part this works really well. The menus I'm creating a based on files and directories, so naturally the menu...
0
by: Mike Wilson | last post by:
Ok, I've been pulling my hair out for hours now :( I know I've asked this previously, but the question has now changed slightly and taken on a new direction...: I'm looking for a coded...
2
by: Patryk | last post by:
Hi I'm making a web application which is a copy of existing desktop application. I use telerik controlls for MS visual studio I have a little bit complicated situation beacuse I need context...
1
by: krose | last post by:
Hi Using a couple of examples on CodeProject.com I've create a nice little shell extension (adds some custom menus for proprietary file types). Everything is working fine, except I can't get it...
1
by: Doug Bell | last post by:
Hi, If I modify my Registry adding a new key HKEY_CLASSES_ROOT\*\shell\Use My App\command with a (Default) Value of C:\Program Files\Doug\DotNetApps\MyApp.exe "%1" then right clicking on files in...
2
by: Tom Rahav | last post by:
Hi, I would like to develop an application that runs in the system's tray and whenever the user clicks CTRL+Right Click (mouse) on a file or folder, my application will pop-up on that file or...
2
by: Sebastian Terodde | last post by:
Hi NG, I had the Project idea to create a sort of virtual filesystem based on an sql server. Now i'm searching possibilities to implement it in windows explorer. Is there any connector for...
2
by: Ron M. Newman | last post by:
Hi, Just need a little advice. Id like to build *dynamic* context menus for tree nodes. I'm pretty versed in building context menus and attaching them to tree nodes. My question is, what...
2
by: =?Utf-8?B?SkRhdmlkZQ==?= | last post by:
Hello! I'm writing an namespace extension in C++ using ATL. I'm dealing with files which are not on the machine where the NSE is running. I want to provide a way to copy the remote files into the...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.