John -
I was having a lot of eratic errors with VFP until somebody suggested upgrading to Service Pack 3. If you aren't already, there's a possibility that it could solve your problems.
>I am using an ole control in Visual Foxpro 6.0. I can execute the form itself fine in Visual Foxpro just running it stand alone. But as soon as I try to integrate it into my application I get varied error messages. Sometimes I get a Fatal Exception error, I even have gotten an invalid page fault in my application. I have tried everything that I can think of to find out the problem, from removing items to removing code. And everytime I can run fine stand-alone but errors out in a comiled version. I have also tried to set the _VFP.AUTOYIELD to true and false to no avail.
>
>Any help would be appreciated!
>
>John Rowlinson
>Microworks POS