Solved

VB5 and Shell Extensions

Posted on 1998-09-14
5
333 Views
Last Modified: 2010-04-30
I'm looking for some clues as to how to write shell extensions (ala WinZip, etc.) that will add menu items to the right click menu and property pages of files of a certain type (eg files created by my program).

Note: I do not mean a simple registry hack which passes the name of the file to my program, but a _real_ shell extension.
0
Comment
Question by:cvidler
[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
  • 3
  • 2
5 Comments
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1434912
I'm afraid I can help you very much but here are my experiences with this topic.

Basicly there are different types of shell extensions.

1) Name space extensions.
      Examples are recycle bin, control panel. Almost impossible to       do with VB. (Never seen it, have does in in ATL, C++)
2) Property Sheet extensions.
      Like winzip, Word. Might very well be possible in VB, but       again never seen it. Lots of ATL examples.
3) Contextmenu extensions.
      Lots of apps do this. Rather easy to make in VB. Microsoft has a sample of this private VB site http://premium.microsoft.com/vbasic/browse.asp. Just must be registered to be able to download this.
4) Icon extensions.
      Not seen very often, altough it has some good uses. Tried to do it in VB but failed.
5) Find extensions.
      Like Outlook. Have ATL examples available. Interface is not dispatch compatible
6) File viewer extensions.
     See win98 and QuickView. Can be done in VB. Have seen some examples on the Web.

     
0
 
LVL 1

Author Comment

by:cvidler
ID: 1434913
I'd like to award 1,000 points to anyone who can get some VB source for a Property sheet extension and a context-menu extension. (well when I get the points.)

0
 
LVL 1

Author Comment

by:cvidler
ID: 1434914
Mirkwood, if you would like to add an answer I'll happily give you the 200 points now.
0
 
LVL 13

Accepted Solution

by:
Mirkwood earned 200 total points
ID: 1434915
I'm afraid I can help you very much but here are my experiences with this topic.

Basicly there are different types of shell extensions.

1) Name space extensions.
      Examples are recycle bin, control panel. Almost impossible to       do with VB. (Never seen it, have does in in ATL, C++)
2) Property Sheet extensions.
      Like winzip, Word. Might very well be possible in VB, but       again never seen it. Lots of ATL examples.
3) Contextmenu extensions.
      Lots of apps do this. Rather easy to make in VB. Microsoft has a sample of this private VB site http://premium.microsoft.com/vbasic/browse.asp. Just must be registered to be able to download this.
4) Icon extensions.
      Not seen very often, altough it has some good uses. Tried to do it in VB but failed.
5) Find extensions.
      Like Outlook. Have ATL examples available. Interface is not dispatch compatible
6) File viewer extensions.
     See win98 and QuickView. Can be done in VB. Have seen some examples on the Web.
0
 
LVL 1

Author Comment

by:cvidler
ID: 1434916
Mirkwood, if you have samples of the others in ATL or C++ I would like to have a look at them if possible.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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 trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

738 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