Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is RESOURCE file sharable?
Message
 
À
14/06/1997 10:50:25
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00036163
Message ID:
00036423
Vues:
52
> >> The resource file in VFP is supposed to store a lot of useful stuff > like > >> preferences, window locations and sizes, diary entries, etc. > >> I'm just wandering if it can be shareable among several EXE? > >> At least my attempts to run 2 exe (on the same PC) with the > >> same RESOURCE file were unsuccessful. > > > >The resource file is not shareable. > > > >If you want to share the Window positions, diary information, etc. among > >multiple PCs or users, then you have to re-create the wheel here. > > Sorry for interrupting, but suppose if we assign diff. resource file for > diff. users. I mean, say we have 3 users :- 1, 2, 3 > > and there are 3 dir. in network, say 1,2,3 > > and we copy foxuser.dbf and fpt in all 3 dir. > > In program, we use do case > > case user=1 > set resource to f:\1\foxuser > > case user=2 > set resource to f:\2\foxuser > > case user=3 > set resource to f:\3\foxuser > > endcase This will work for giving different users access to different resource files. But the original question dealt with them using the same file. I interpreted that to mean both read and write to the community of information. With all of the schemes mentioned so far, you can read the community of information, but you can't write back to it. With what you are proposing, all users will have a copy of the information as of date X, and after that it will be stale. If all you need is read access to the resource file, or if you need a copy of the resource file as of some time in the past, then the schemes mentioned so far will work. If, however, you want to be able to update the community of information, such as people sharing a calendar, then you will have to use something other than the resource file. /Paul
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform