Hi !

I would like to be able to do this in VB and I want to know if it's possible to do it. Ok I'll explain how it will work.

Ok let's say the application is sleeping ( mostly it will be in sleep mode ). Then when a specific file appears in a set directory, the application gets out of sleep mode and then it start processing the file. When it is done it returns to sleep mode.

I'm guessing that I need the OS telling my application if the file exists and I would prefer to keep the application in sleep mode and not checking in the directory every minutes for a new files. Also if it's possible will I need to run the application as a service ?

Any help is welcome.

Thanks in advance

Nicolas