Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow network load / file permissions?
Message
From
08/08/2000 13:24:48
 
 
To
08/08/2000 11:52:06
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00402278
Message ID:
00402364
Views:
9
>I'm loading a bunch of bmp's and .MSK files for my command buttons from my NT server. Sometimes it hangs. Are there any network permissions we need to access the .BMP and .MSK files in fox? (ie: is read-only ok or should we have write, execute??)

There's no need for either write or execute permissions; I take it that these are individual files, not bound into an executable. There are several possible solutions:

(1) Are there a lot of files in a single directory? The time to open a file increases dramatically as the size of the directory grows. You mght consider splitting them into several smaller subfolders.

(2) These are static files; is there any reason not to copy them over to the local system? Accessing a file from a local hard drive will be considerably faster than loading across a network, and will lessen network contention.

(3) What control(s) are being used to display these images? You might consider experimenting with using one of the lightweight ActiveX image controls, particularly on machines with limited memory.

(4) You might also want to try adjusting VFP's allocation of RAM as disk buffer space using the SYS(3050) function; it may be that contention between VFP's disk buffers and the memory needed for video buffering is causing swap file activity; reducing VFP's consumption of RAM for buffers may reduce the need for page file activity, at a relatively small cost in query performance - you'll need to experiment to find the right mix.

(5) Are these machine configured with limited memory? In many cases, adding another 32-64MB of RAM to a system will given benefits that far exceed the small cost of the memory; you can experiment on one machine, and if adding memory to that system makes a dramatic improvement in performance, this will serve to justify upgrading other systems; an initial invest of ~$60 as a test might pay off bery well.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform