README.md
December 5, 2022 ยท View on GitHub
Description
Have you ever seen that menu items that appear in the IE context menu, that menu that appears when you right click?
Well, this tutorial will teach you how to add you programs to that menu so when you click on that menu item a program or internet URL will open
More Info
| Submitted On | |
| By | Design7 Software |
| Level | Intermediate |
| User Rating | 3.0 (18 globes from 6 users) |
| Compatibility | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) , VBA MS Access, VBA MS Excel |
| Category | Internet/ HTML |
| World | Visual Basic |
| Archive File |
Source Code
How to add your programs to the Internet Explorer context menu
Have you ever seen that menu items that appear in
the IE context menu, that menu that appears when you right click?
Well, this tutorial will teach you how to add you programs to that menu so when
you click on that menu item a program or internet URL will open
To run a program from the context menu:
To add a menu item to the IE context menu first
run regedit.exe, located in the Windows folder, then create a registry group in
the group "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt",
then name that new group with the text that you want to appear in the menu item,
now you have the menu item.
The next step is to giving the menu item a file to open or run, to do this open
the group you have created and double click in the key that is named
"(Default)" and change it's value to the program you want to run
To open a URL from the context menu
Do the same steps, only replace the program path with the path of an HTML file, to do this create an HTML file, and put the following code on it, remeber that the context menu cannot point directly into a URL, that is that you can't put the URL directly into the registry value.
<script
language="JavaScript">
<!--
window.location="http://www.planetsourcecode.com";
//-->
</script>
and put the URL you wan open.
And that's all, now to view your new menu open Internet Explorer and then right click inside the document opened, and now look for your menu, it will be there, now click it and the file or URL that you specified will be opened.
Here ends this tutorial, if you liked this tutorial please vote for it and post your comments.