VbpIconHandler - Shell Extension
JP Mortiboys, 2001

Overview
--------

This icon handler adds per-file icons for vbp files.
There are four main types of vbp projects - the four you can choose from on creating a new project. This icon handler uses a different icon for each vbp file depending on its type. Older (or corrupt) vbp files with no defined type use a standard project icon.

Note
----

The five icons in this dll were made by me. Like 'em?

Installation
------------

Copy 'VbpIconHandler.dll' to the system directory (c:\windows\system or c:\winnt\system32 in most cases) and install the 'VbpIconHandler_Install.reg' file (double-click the icon). Reboot.

Tweaking
--------

By default, the icons used for vbp files are in the DllIconHandler.dll file. To change this, create/edit 'IconFileList.ini' in the Windows directory (c:\Windows or c:\winnt in most cases) as follows:

[vbp]
Default_IconFile=path/to/new/icon.ico
Default_IconIndex=index
Exe_IconFile=path/to/new/icon.ico
Exe_IconIndex=index
OleExe_IconFile=path/to/new/icon.ico
OleExe_IconIndex=index
OleDll_IconFile=path/to/new/icon.ico
OleDll_IconIndex=index
Control_IconFile=path/to/new/icon.ico
Control_IconIndex=index


(The index is used in the case of .icl or .dll files, if you're using an .ico then just ignore it or put 0).

******** NEW: ********
Custom icons
------------

To change the icons for vbp files in a specific folder, create an 'IconFileList.ini' file within the folder. The default entries are the same as the entries for the 'main' IconFileList.ini, and you can also put the name of a specific vbp file, like so:

[vbp]
Default_IconFile=some_icon.ico
Default_IconIndex=0
ExampleProject.vbp=project_icon.ico
ExampleProject.vbp_Index=0

Note: After changing an .ini file, the icon cache needs to be refreshed before the icons will be changed.

Comments and such are welcome - write to me at jpm@programmer-general.com
Check out www.programmer-general.com for more of my shell extensions.