I am looking to wrap a do while loop around some If Then...Else...Code
I need to keep looping until the if test becomes true. I am testing for the
completion of a WinZip file.
Here is the code...
<%
dim fs,BtnVal,BtnCk
set fs=Server.CreateObject("Scripting.FileSystemObject")
I NEED TO LOOP THRU WHILE THE ZIPFILE IS BEING BUILT ON THE SERVER.
if fs.FileExists("D:..Zipfilepath..") = false then
BtnVal = "Re-Submit"
BtnCk = "Inv"
else
ONCE FILE IS FOUND I WANT TO SET THESE VALUES AND GET OUT
BtnVal = "Re-Submit"
BtnCk = "Inv"
end If
set fs=nothing
%>
BEEN TRYING TO ADD THE DO WHILE LOOP STUFF BUT WITH NO LUCK.
ANY HINTS.
Thanks,
Jay Swan
Bayer Pharmaceuticals
West Haven, Ct
(203) 812-3628
Jay.Swan.b@bayer.com