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?
Printable View
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?
Maybe use the sleep API in your DLL?
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.
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
How would I do that?
<META HTTP-EQUIV="REFRESH" CONTENT="10;urlto the page">
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.
Yes, it requests the page from the server again.