RE: Windows 7 + VFP9 speed problem

Author: Tracy Pearson

Posted: 2011-03-03 at 18:17:06

Mike Copeland wrote on 2011-03-03:

> Tracy,

>

> I may be misunderstanding your focus, but the AddComboItem loop is in

> the Init of the form, before the form ever displays. Once the form

> displays, there are no speed issues and the combo is never loaded

> again....until a new instance of the form is called for.

>

> The code in each of the ctGrid methods and events have to do with

> recalculating tax (calling a form method) popping up a messagebox if

> they enter an unknown "off the list" SKU, etc. None of them cause the

> ctGrid to redraw, adjust, or be modified in any way, either on purpose

> or not-on purpose.

>

> I turned off Windows Themes in the Win7 Control Panel>Personalization,

> no change.

>

> Set sys(2700,1) in the beginning of my MAIN.PRG, and it actually

> increased the times, on both the FAST and the SLOW scenarios.

>

> Bizarre!

>

> Mike

>

Mike,

No, I think you understood where I was heading. It isn't making sense. There

was an odd behavior seen once in my application that I've not been able to

take the time to track down. It is related to VFP 9 SP 2 runtimes on my

compiled with VFP 9 SP 1. I've not been able to make the time to track it

down since most clients are not running that configuration. It has something

to do with a loop process and updating records in tables. No ActiveX

controls involved, so the scenario is only similar by the SP 2. As I'm

typing, I recall it was happening on XP workstations too. I don't have any

more direction.

Since VFP 9, you can capture the coverage profile logging on with SET

COVERAGE TO... in the runtime.

Tracy Pearson

PowerChurch Software

_______________________________________________

Post Messages to: ProFox@leafe.com

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/000e01cbd9f9$1cf9fb20$56edf160$@com

** 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.

©2011 Tracy Pearson