Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 9 the text on the screen gets erased
Message
From
09/02/2012 13:53:26
 
 
To
09/02/2012 13:27:21
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01534737
Message ID:
01535024
Views:
53
>>>Spoke too fast. The problem is back again.
>>
>>Can you check _screen.lockscreen?
>>
>>Though this looks more like a "system is busy" kind of siituation, but then you'd have other things temporarily malfunctioning as well. Happens to me if I ftp to the full speed, and my video card is about 10 years old and the driver isn't much younger either.
>
>lockscreen is false.
>
>I deleted the FoxUser and for a moment that fixed it.
>I think it's a memory leak issue that gets solved temporarily after rebooting. I'll have lots (3 or 4) of VFP sessions open and then it gets to the point where I can't even open one VFP session saying there isn't enough memory even though there really is.
>
>So, a reboot fixes that problem too. But, i hate rebooting. Sometimes I don't reboot for weeks if i can get away with it.
>
>I think it's a memory leak problem.

If you have more than one VFP session, I strongly suggest that you open them with different config.fpw, Personally I use a directory c:\foxjob, with subdirectories, like c:\foxjob\win1, c:\foxjob\win2, c:\foxjob\win3 and so forth. I also have sudirectories under these directories called temp. In each of these winx directories I have config.fpw which I specify by the -C command line switch in the properties of the different icons. So for my "VFP1" icon, I have this in the Target field:
C:\VFP9\vfp9.exe -T  -cc:\foxjob\win1\config.fpw c:\foxjobb\windows\startup
This is the contents of c:\foxjob\win1\config.fpw:
ODOMETER          = 100
RESOURCE=C:\FOXJOBB\win1\FOXUSER.DBF
OVERLAY=c:\FOXJOBB\win1\ OVERWRITE
EDITWORK=c:\FOXJOBB\win1\temp
SORTWORK=c:\FOXJOBB\win1\temp
PROGWORK=c:\FOXJOBB\win1\temp
TMPFILES=c:\FOXJOBB\win1\temp
A few of these settings may not be necessary anymore, but I have used these files for more than a decade now, without any change.
By adding different values for Odometer, I am able to distinguish which config file I start with, in my startup I have a lot of setup code, one line is something like _vfp.caption = 'Visual FoxPro 9 session no. ' + transform(set('odometer')/100)).
Previous
Reply
Map
View

Click here to load this message in the networking platform