473,748 Members | 5,849 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

explorer context menus

Hi,
If I modify my Registry adding a new key HKEY_CLASSES_RO OT\*\shell\Use My
App\command with a (Default) Value of C:\Program
Files\Doug\DotN etApps\MyApp.ex e "%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 1549
Hi,
Found the MS write up on Explorer Context Menus and Context Handlers.

Doug

"Doug Bell" <Po*********@vo daphone.com.au> wrote in message
news:ed******** *****@tk2msftng p13.phx.gbl...
Hi,
If I modify my Registry adding a new key HKEY_CLASSES_RO OT\*\shell\Use My
App\command with a (Default) Value of C:\Program
Files\Doug\DotN etApps\MyApp.ex e "%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
4777
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 creation takes some time. The approach I took was to override the OnSelect method of the MenuItem class, which had code to populate the
0
885
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 example (there are a few on the internet, but documentation is utterly horrendous!), preferably in VB.NET, or VB6 or C# (preference in this order) to allow me to create context menus dynamically at runtime when the user right clicks a file (or set of...
2
1667
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 menus but the main problem is that they have to be downloaded from server after the page loads. I can't load all of them on page because there are to many. This is my solution of the problem. When user right-clicks js download from server through...
1
2532
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 to unregistry completely itself without killing explorer. I call UnregisterAssembly and even manually remove all references to it from the registry, this prevents the menus appearing which is good and right. But I still can not actually delete...
1
1158
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 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...
2
1847
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 folder with relevant menu. For example, if the user clicks CTRL+Right Click on a file called "Test.txt", my application will pop-up with a new containing: "Copy to different location", "Open with textpad", etc. I thought about adding context menu for...
2
1801
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 the windows explorer ? Alternatively it can be resolved by using a service who emulates a netdrive to connect from windows explorer.
2
3451
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 event to I "capture" in order to build the tree node menu in real time? right click on a tree node? or is it too late? just FYI: the menu is different for each node and is based on "real time"
2
1292
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 local machine. I provide a DnD mechanism, by which I record the names of the files when the user starts to drag, then load the bytes just when the user drops. I wanted to provide also the Copy/Paste functionality, both through CTRL-C/CTRL-V and...
0
9530
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9363
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9312
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9238
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8237
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6793
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4593
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.