Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is RESOURCE file sharable?
Message
De
14/06/1997 17:05:07
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
12/06/1997 19:53:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00036163
Message ID:
00036401
Vues:
37
> Hi guys > 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. > > BRGDS No, it's not, but instead you may provide a way for each user to have one of its own, and initially copy the defaults from a template resource file you supply with the app. Say a new user comes in and cRsrcfile="users\"+cUserName+".dbf" if not file (cRsrcFile) use defaults.dbf share noup copy to (cRsrcFile) use endif set resource to (cRsrcFile) This way, each user has one resource file for himself, and the initial state of windows etc is given in it at the time user first logs in. This info doesn't have to be anything much - I did this in FPD2.6 for a specialistic clinic, and it initially contained only color sets (ever tried a character - based app on a system with ten different combinations of mono-VGA cards + monitors?). Some days ago there was talk here of storing the info on "print preview toolbar without the damn print button" into such an initial resource.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform