Hello All!
I'm trying to figure out the best way to execute a program upon any file being placed inside a network folder. We have TechScheduler, with which I can do 1 of 2 things. I can schedule a program to run every # minutes/seconds/whatever or I can just have a program that constantly checks for any files in the folder, sleep for a bit, check again, etc. If this program abends, TS can start it up again, making sure it is always running. Niether of these sound like the right way to do it though. Can't I use VB to "listen" for file creation using some SystemObjects or something? I would think I could establish a hook to the server (running Win2000) and find out when a file is created then.
Does anyone have any ideas on this??
Thanks!
I'm trying to figure out the best way to execute a program upon any file being placed inside a network folder. We have TechScheduler, with which I can do 1 of 2 things. I can schedule a program to run every # minutes/seconds/whatever or I can just have a program that constantly checks for any files in the folder, sleep for a bit, check again, etc. If this program abends, TS can start it up again, making sure it is always running. Niether of these sound like the right way to do it though. Can't I use VB to "listen" for file creation using some SystemObjects or something? I would think I could establish a hook to the server (running Win2000) and find out when a file is created then.
Does anyone have any ideas on this??
Thanks!