Get a Relative Path
Author: johannes kutsam
Version Compatibility: Visual Basic 6
get_relative_path "C:\My Documents", "C:\Windows\System"
returns ../../My Documents/
always pass folder strings NEVER file strings
If the folder is a drive like c:\ you have to pass it without a backslash.
Updated 1/20/2001. Now written in English and documented.
for further questions: firstname.lastname@example.org, Austria
Instructions: Copy the declarations and code below and paste directly into your VB project.