Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using VFP application on network.
Message
 
 
To
27/03/2003 01:01:30
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00770153
Message ID:
00770654
Views:
12
Hemant,

i know second way for this,

first one,

1-create map path (such as K: ) on each client pc to use your program
2-create dir on each client pc and copy your exe to them on the network
3-create config.fpw file such as notepad and write below codes to this file then save and copy it to each client pc on the network
tmpfiles=GETENV("windir")+"\temp" && this codes improve the performance
editwork=GETENV("windir")+"\temp" && this codes improve the performance
sortwork=GETENV("windir")+"\temp" && this codes improve the performance
progwork=GETENV("windir")+"\temp" && this codes improve the performance
default=K:\your_program_data_path 
4-copy only the program data's to K:\your_program_data_path

second one

1-first 4 step is valid this way only remark the "default=K:\your_program_data_path" line with && or * at config.fpw file
2-and additional create pathcont.dbf , datadir c(100) insert a blank record and replace datadir value with "K:\your_program_data_path" and copy this file to the each client pc on the network
3-at the top of your start.prg (which is your marked Set Main on your project) use below codes
IF ! USED("pathcont")
 use pathcont in 0 shared 
   if empty(pathcont.datadir)   
messagebox("Cannot Continiue data path was empty ,please input path info !",16,"ERROR")
do form form\pathset  && create a form for input this info or use browse command for this
ELSE
   	select pathcont
 set path to (pathcont.datadir) 
*	do FORM form\login &&start  
		do start  
ENDIF
   ENDIF 
i am using second way and there is no problem

HTH

PS : if there is not runtime files on clientd pc's you'll get error
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform