No way of knowing from the error code. Make sure you have a good VFP error handler running that logs detailed information.
>We have a VFP EXE running on a Server that queries a DBF every 5 minutes and writes to a SQL table. It has been working great on our SQL Server, called by a Scheduled Task from about 7am to 5pm Mon through Fri for some months now. Recently it quote running and we found that the Error Code for the Task was: 0xc0000142. What could be causing this? I disabled the task and then ran the task manually and the enabled it again and it worked for about a day and we got this same error code again.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer