Solved

VB5 and Shell Extensions

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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

728 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