Solved

VB5 and Shell Extensions

Posted on 1998-09-14
5
315 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
  • 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: 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.

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

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

840 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