|
-
Jan 23rd, 2003, 02:03 PM
#1
Thread Starter
Fanatic Member
add a delay in asp script
I'm trying to check if a file exits. I want to do this every 10 seconds. I have a dll that will check if the file exists, all I need to know is how to wait 10 seconds and then check again. Is there a way to do this?
-
Jan 23rd, 2003, 03:22 PM
#2
Black Cat
Maybe use the sleep API in your DLL?
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jan 23rd, 2003, 03:28 PM
#3
Thread Starter
Fanatic Member
I use a dll just to check if the file exists, it is just like the File System Object (fso.folderexists). I want to check if the file exists every 10 seconds until the file actually exists but I want to do this in VBScript. Maybe there isn't a way, I don't know.
-
Jan 23rd, 2003, 03:32 PM
#4
PowerPoster
I guess u wanting to do it through an asp page , just keep calling the asp page which checks for the file by adding theh meta tag..http-refresh
-
Jan 23rd, 2003, 03:41 PM
#5
Thread Starter
Fanatic Member
-
Jan 23rd, 2003, 03:59 PM
#6
PowerPoster
<META HTTP-EQUIV="REFRESH" CONTENT="10;urlto the page">
-
Jan 24th, 2003, 11:03 AM
#7
Thread Starter
Fanatic Member
When I do a refresh does it restart my asp code? Because I have dll that I call and I don't want it to keep on restarting.
-
Jan 24th, 2003, 03:15 PM
#8
Black Cat
Yes, it requests the page from the server again.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|