Hi
I am new to ASP and thought that using wildcards will be easy in ASP but it turns out a bit different. Would anyone will be kind enough to point my logic to right direction
Code
----
For Each objItem In objFolder.Files
If objItem.Name = "*" & strSearch & "*" Then
Response.Write(ObjItem.Name & "-" & objFolder.Path & "<P>")
End If
Next
As obvious I am trying to compare the filename with all the files exisiting in a particular directory.
Thanks in advance
Cheers!
ÙÇãá
It's important to learn the rules so that you know how to break them.
I am new to ASP and thought that using wildcards will be easy in ASP but it turns out a bit different. Would anyone will be kind enough to point my logic to right direction
Code
----
For Each objItem In objFolder.Files
If objItem.Name = "*" & strSearch & "*" Then
Response.Write(ObjItem.Name & "-" & objFolder.Path & "<P>")
End If
Next
As obvious I am trying to compare the filename with all the files exisiting in a particular directory.
Thanks in advance
Cheers!
ÙÇãá
It's important to learn the rules so that you know how to break them.