Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is RESOURCE file sharable?
Message
De
16/06/1997 10:36:11
 
 
À
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:
00036510
Vues:
39
>>> 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.
>>
>
>Mr Paul,
>
>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
>
>Pls advs your comments


You don't even need different ditectories....just different file names. Look at SET RESOURCE TO.

Craig
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform