Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

In context

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

i.e., like QuickView does . . .
0
Comment
Question by:Phuzzy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

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

Author Comment

by:Phuzzy
ID: 1523154
Edited text of question.
0
 
LVL 1

Expert Comment

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

0
 

Accepted Solution

by:
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,

REGEDIT4

[HKEY_CLASSES_ROOT\*\shell]

[HKEY_CLASSES_ROOT\*\shell\open]
@="Open With Notepad"

[HKEY_CLASSES_ROOT\*\shell\open\command]
@="c:\\windows\\notepad.exe %1"

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

or ,
write it directly to the registry.



0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

671 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