Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Frx2word - Bizarre behavior - Any Ideas??
Message
From
06/02/2002 18:48:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Frx2word - Bizarre behavior - Any Ideas??
Miscellaneous
Thread ID:
00616349
Message ID:
00616349
Views:
59
I am testing FRX2WORD on 2 different computers had have observed some really strange behavior that I have never seen before and frankly I am stumped. Both are Pentium 4(1.4 and 1.7 gHz), the first is WinME and the other is Win2K. I created 2 reports exactly alike except one has fields in the detail area that are set to float and stretch with overflow. The report without stretch runs perfectly on both computers and is very fast. (18 pages in less than 2 minutes) The report with stretchable fields runs perfectly on the WinME computer in about the same time, but on the W2k computer, it alternately flashed the cursor from arrow to hourglass, slows to a crawl and takes more than 10 minutes to complete.

Now for the strange thing. To discover what was happening to cause this slowdown, I put "set step on" in the class code for the first record to process at the point where it calculates the stretchable fields. When I initially stepped through the code for a few records, I saw nothing unusual that may be causing this slowdown, so I closed the debugger and resumed the code. To my surprise, on resume the code continued and produced the report in less than 2 minutes as it should. I took the break point out and it slowed down again with the cursor flashing alternately between arrow to hourglass and again took more than 10 minutes to run.

I know that this sounds crazy but it is happening. I put a conditional "set step on" in the code and when I run the code and select to set step on, I can step a few lines or simply close the debugger, resume, and the the code runs as fast as I would expect. I select to not suspend the code and it slows down to a crawl again.

I have placed "set step on" in the error code of this class so I know it is not hitting the error handler. The report is running on a local table.

I have asked Fabio about this but neither he nor I have found what may be causing this. I tried a few of his suggestions and have disabled all virus checking with no change.

Has anyone else seen this kind of bizarre behavior before?? Do you have an idea as to what may be causing this or where to look for an answer?
Reply
Map
View

Click here to load this message in the networking platform