Solved

VB5 and Shell Extensions

Posted on 1998-09-14
5
304 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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…

806 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