Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make Fast your FPW 2.6 Program in WNT and W2000 !!!!

Status
Not open for further replies.

pepmarti

Programmer
Apr 2, 2001
31
ES
I you want to make fast your FPW 2.6 program in WNT and W2000 put this line in your config.fpw

ROSOURCE={local directory that are in all terminals}
example:
RESOURCE=c:
This line make that your FOXUSER.* are in you local disk. And make your aplication very fast.


 
Bet if you wrote a small loader program and placed it on every computer to copy the application to the users local hard drive and then started that FoxExe from the local hard drive copy, you would see a much bigger speed increase then the tip you mentioned.

Also if you then created a desktop Icon or windows menu task bar item to point to the local loader program and set the start in properties to the local directory where the loader program was, you would not need that tip you mentioned because foxpro would be running from the local hard drive and it would create the foxuser file there and not on the network.

Win Shortcut lines
application "C:\FPW\FPW26.EXE" -t "c:\temp\loader"
start in "C:\temp\"

loader program
pcFromDir = "F:\MainDir\"
pcLclDir = "C:\temp\"
pcFoxExe = "FoxExe"
on error **
md (pcLclDir)
on error
set default to (pcLclDir)
on error
set talk off
set safety off
copy file (pcFromDir + FoxExe) to (pcLclDir + FoxExe)
do (pcLclDir + FoxExe)

P.S. You can also get creative and pass the loader program parameters.
David W. Grewe
Dave@internationalbid.com
ICQ VFP ActiveList #46145644
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top