Some other people tried this sample and they also got c5 error.
What I can do to eliminate this error ?
>Andrus,
>
>I see what you are saying. I mistook the repetitive F3 for an error. You're right I cannot reproduce the c5 error. When I let it run, it continues until finally stopping on a client name. I can scroll to other clients, etc. However, if I access the task manager (W2k sp2) it causes an 'invalid seek offset' error in your app. I don't have to click on 'end task', only bring up the task manager to cause the error. If I access it during the F3 cycle it errors immediately. If I access it after it stops, when I try to change records on the grid, it causes the error. It's also interesting that the error causes my instance of VFP7 to lock up (it doesn't lock up VFP6).
>
>John
>
>>John,
>>
>>it seems that you cannot reproduce the error. In my computers, this program
>>produces c5 error after running some time. I think that Robert Pierce
>>confirms in this thread that he can reproduce this problem.
>>
>>This program contains a command like
>>
>>KEYBOARD REPLICATE('{F3}', 100)
>>
>>for purpose to cause c5 error without holding down F3 key.
>>
>>It builds dynamically same grid caling grid.init().
>>
>>Can you let this program to run a some time and see if c5 error appears.
>>
>>grid init() method contains the code:
>>
Andrus