Now that anlgform.exe works under IIS4 (thanks, Steven), I've added some
ASP code to my form to allow me to select the log file I want to analyze
from the list of logfiles in the directory:
Choose the Log File to Analyze:
<select name="lo">
<% ' get list of log files
Dim fs, f, f1, fc
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFolder(server.mappath("."))
Set fc = f.Files
For Each f1 in fc
if right(f1.name, 4) = ".log" then
response.write " <option value=""" & f1.path & """>" & f1.name &
"</option>" & chr(13)
end if
Next
Set fs = nothing
Set f = nothing
Set fc = nothing
Set f1 = nothing
%>
<!-- include "All Files" as an option -->
<option value="<%=server.mappath(".")%>\*.log">All files</option>
</select>
But when I try to make my form so that I can select more than one log
file, anlgform.exe only processes the last one, (it gets multiple
lo=xxx.log parameters, instead of lo=xxx.log,yyy.log,zzz.log) which is
why I added the last option for *.log.
I could probably add some client side javascript to take the multiple
options and create a single LO parameter, but is there a simpler way?
Aengus
--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------