Re: Add a context menu item to Windows Explorer (Win98) with VB6?
- From: "mayayana" <mayaXXyana@xxxxxxxxx>
- Date: Sat, 18 Oct 2008 20:42:48 -0400
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:
- References:
- Prev by Date: Re: Extended File properties
- Next by Date: Re: Differences between VB6 and VB.Net causing problem
- 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):
Loading