I have repeatedly mentioned that "someday" we would properly implement the "Open with VEDIT" function in the Explorer right-click (context) menu. Well, that day has finally come. :-)
In Windows terminology, this requires a "shell extension" implemented as a .DLL file with proper entries in the registry.
While this will be added to the installation in the next release of VEDIT, you can try a preliminary version.
1. Copy the attached vshellx.dll file to your VEDIT
directory, assumed to be c:\vedit.
2. Double-click the attached vshxwnt.reg file to make
three registry additions. If you have installed VEDIT
somewhere other than c:\vedit, first edit the .reg
file, which is a simple text file.
Note: You must have "administrator" rights to add a
shell extension.
Now, when you right click on any file in Explorer, you will see an "Open with VEDIT" item. :-)
While this .DLL works well, it is not perfect. There are some minor issues:
* The "Open with VEDIT" is often not near the top of the context menu. (Other shell extensions know how to force their way up.)
* It currently does not display the VEDIT icon in the context menu, even though it is supposed to.
This is our first exposure to Window's COM programming and we are novices at it. Therefore, I will be happy to make the source available to any COM expert who would like to take a shot at improving it. We started with some widely used sample code.
Ted.
|
|