>>One problem I have noticed with the Sleep() function in VFP is that
>>it appears to put all VFP applications on your machine to sleep at the same
>>time.
>
>I don't know what you were doing to cause this (running .apps perhaps?), but this is not true. Sleep causes the current process to go to sleep only, and each VFP application runs in its own process. I just tested to make sure, but this would have caused me a lot of grief before now had it been true...
Erik,
It doesn't stop the other applications from running as if they were in sleep,
rather it just stops the actual IDE from doing things in code windows like cut and paste and typing, It may have been some dodgy coding on my part, but this application I had, while ever it wasn't checking the internet,(ie when it was in sleep) I couldn't type in the VFP IDE, I could still design forms and run code but whatever I typed while the other program was in sleep wouldn't appear until the other program started up again.
But I am probably wrong and should probably test stuff more before I go anouncing things like this :).
Cheers,
Chris
Have a nice day :)