Automatically Create an HTML Navigation Bar Based on Directory Hierarchy

Category:
ASP, HTML and XML
Type:
Snippets
Difficulty:
Intermediate
Author:
Juha

Version Compatibility: ASP

More information:
This ASP code creates a hiearchal navigation bar based on the directory structure: For example, if this code is included in the page http://foo/Documents/Studies/Personal/Default.asp, it will display a navigation bar that looks like:

"MAIN | Documents | Studies | Personal"

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

Declarations:

Code: