Solved

VB5 and Shell Extensions

Posted on 1998-09-14
5
280 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
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…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now