I have a VB6 application that is designed to check for the existance of a file every 30 minutes. This app is always (24x7) running on a specific computer and it uses the Sleep() function to activate the search for the file. There is no user interface or even an icon in the tray. The only way to tell if it is running is to use task manager (however, it always shows up as not responding). The problem is that at least once a week it hangs up the PC it is running on. Is there a better way to program something like this? Should it be running as a 'service'?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!