>>>I have a multi-user application in VFP 5.0 in which I created the network setup file for. When installing the application on each of the users PC's do I pick the same default network drive and directory for each PC (should each user be installing to the same place netdrive:\appdir)?
>>>
>>>Thanks
>>I just copy netsetup to server then each user installs from there to their local pc. This reduces the network traffic. On startup main.prg checks for a path.mem file and if doesn't find one prompts for data dir. After data dir is selected it's saved to mem file for later accesses.
>>Cetin
>
>How do I get each users application to be looking at the network:\datadir for the database files rather then their local drive. I tried to remove the database files from the project but that didn't work.
>Thanks
if !file(home()+"datapath.mem")
m.datadir = getdir()
if empty(m.datadir)
messagebox("No data dir")
quit
endif
set path to (m.datadir)
save to (home()+"datapath.mem")
else
restore from (home()+"datapath.mem") additive
set path to (m.datadir)
endif
Cetin