Re: Add a context menu item to Windows Explorer (Win98) with VB6?
- From: "mayayana" <mayaXXyana@xxxxxxxxx>
- Date: Sun, 19 Oct 2008 15:40:40 -0400
Again, under Vista, this will fail.
You mean it just doesn't work or are you talking
about the difficulty in writing to HKCR?
Interestingly enough, this will work under HKEY_CURRENT_USER. I've doneit
recently with no ill side effects to speak of...so far. <g>
How can it be done under HKCU? You mean that you
can use the HKCU\Software\Classes subkey in Vista to
augment or override the HKCR key?
- Kev
"mayayana" <mayaXXyana@xxxxxxxxx> wrote in message
news:eOsrQNYMJHA.5228@xxxxxxxxxxxxxxxxxxxxxxx
| You can easily add a custom menu to open a file
| with a specific program. Under HKCR\*\shell you do
| something like this:
|
| HKEY_CLASSES_ROOT\*\shell\Open with Notepad\
| default value: "Open with Notepad"
|
| HKEY_CLASSES_ROOT\*\shell\Open with Notepad\Command
| default value: "C:\WINDOWS\Notepad.exe %1"
|
| The first value defines the menu item text.
| The second gives the command line path.
| You then just check the Command$ value
| when your program starts to see if you've been
| sent a command line.
|
|
|
.
- Follow-Ups:
- Re: Add a context menu item to Windows Explorer (Win98) with VB6?
- From: Kevin Provance
- Re: Add a context menu item to Windows Explorer (Win98) with VB6?
- References:
- Prev by Date: Re: Microsoft Error Message
- Next by Date: Re: Microsoft Error Message
- Previous by thread: Re: Add a context menu item to Windows Explorer (Win98) with VB6?
- Next by thread: Re: Add a context menu item to Windows Explorer (Win98) with VB6?
- Index(es):
Relevant Pages
|