Did you try using the FORCE keyword on the DOEVENTS call?
I don't recall if you mentioned your actual SYS(3050) setup. What values did 
you use?

--
rk

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Mike Copeland
Sent: Friday, March 04, 2011 1:47 AM
To: [email protected]
Subject: Re: Windows 7 + VFP9 speed problem

Thanks Fred!

Yes, _vfp.autoyield is set to .F. in the form's Load event. I'm not aware of 
any place to set this other than in the code that is executed both during 
runtime and IDE.

Along those same lines, and remembering something about "very tight loops" 
causing problems before with VFP, I added a DOEVENT (and, as an alternate, a 
wait window nowait "") in the loop with the AddComboItem method call. It did 
slow it down even more, and the slow down was consistent in both the fast and 
slow environments, but it didn't help.

So far, adding "Set logging to file.log" before and after the method call has 
had the biggest improvement! I guess I could do that and then delete the file 
immediately after.


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD0441922355CCA@ACKBWDDQH1.artfact.local
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to