Display File Type Icons in Your .ASP Pages

Category:
ASP, HTML and XML
Type:
Snippets
Difficulty:
Beginning

Author: Anonymous

Version Compatibility: Visual Basic 5

More information:
File icons make it pretty easy to visually digest file lists in Windows when you open a file system folder with explorer. Displaying icons in your web application can also be pretty compelling, for example, to spruce up that boring directory listing page, or visually represent documents in your web app. Simply copy and paste this code into your ASP and download the ZIP file from the provided URL to display these icons in your web pages. http://www.officezilla.com/code/file-icons-in-asp.zip

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: