Quote:
Originally Posted by tsteward
My problem is I create links that are the name of other text files.
Is there a way I can load the text file for interpreting
|
I don't do HTML but I would have thought that when you are about to make a link to a file then "interpret" it then and point the link to the "interpreted" file.
You theoretically could, in the Navigating event, check the URL and cancel navigation if it looked like a text file, "interpret" the file and reassign URL to the new file. This would cause the Navigating event to be re-entered which your code would have to cope with by checking a flag on entry or by some other means depending upon how you want to deal with it.
Code:
ReEntry = false ' in Globals
...
Sub Web_Navigating
If Not(ReEntry) Then
ReEntry = true
Do stuff that might cause re-entry
ReEntry = false
End IF
End Sub