In context

Posted on 1999-07-09
Medium Priority
Last Modified: 2010-05-02
How can I put options in the Windows/ Explorer context menu
from VB?

i.e., like QuickView does . . .
Question by:Phuzzy
  • 2

Expert Comment

ID: 1523153
can u explain ur question in more detail, example???

Author Comment

ID: 1523154
Edited text of question.

Expert Comment

ID: 1523155
Do you mean, when you right click on something in explorer or on the desktop?
(my interpretation anyway!)


Accepted Solution

pakos earned 300 total points
ID: 1523156
do u want to do from vb?
i know a way to do it by adding few lines to the registry,
if u want you can write to the registry from vb:
this example illustrate how to add "open with notepad"
by copying this code to a temp.reg and dbl clicking it will do the task "open with notepad" when u press on a file,



@="Open With Notepad"

@="c:\\windows\\notepad.exe %1"

you have two options :
shell the temp.reg from vb.

or ,
write it directly to the registry.


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question