You need to make it a service. Do a search here on the UT and you'll find several threads that address this.
>Just a thought. How to make my VFP EXE stay locked in memory so it's always RAM-resident, kind of like you can set MSSQL2K?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer