Howdy all. I have this problem, or really a performance boost issue, that I want to solve, but I can't get inStr to work.
I have a dynamic site engine that I wrote, and it works pretty well for the most part, but part of it allows for dynamic menu generation in several forms. Using images, tiered or not, horizontal or vertical, etc.
Now, it also uses template files, and each menu form has a sepcific custom tag. For instance,
would be a tiered, vertical menu.
The problem is this: right now, since I can't get
to work correctly, I have to form all of those menus and try to replace them whether or not the tag is in the file (of coure it only replaces if it is in the file), and that means more effort than necessary for the server. What I would like to have happen is to say something like
Unfortunately, that doesn't work. inStr doesn't return true even if the tag is in the file. Has anyone run into this? Please help.
Thanks,
Corey
PS - I tried both binary and textual comparison. Neither worked.
I have a dynamic site engine that I wrote, and it works pretty well for the most part, but part of it allows for dynamic menu generation in several forms. Using images, tiered or not, horizontal or vertical, etc.
Now, it also uses template files, and each menu form has a sepcific custom tag. For instance,
Code:
<menu_v_t>
The problem is this: right now, since I can't get
Code:
inStr
Code:
If inStr(strPage, SomeCustomtag) Then
formMenuForThatTag
End If
Unfortunately, that doesn't work. inStr doesn't return true even if the tag is in the file. Has anyone run into this? Please help.
Thanks,
Corey
PS - I tried both binary and textual comparison. Neither worked.