Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Users can only load one session of my network app?
Message
De
15/08/1998 02:08:47
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
14/08/1998 15:34:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00126924
Message ID:
00127123
Vues:
21
You probably have SET RESOURCE ON. If so, and you don't specfiy adfferent resouce file, then it is going to try to create and/or use the default FOXUSER.DBF resource file.
To prevent this from happening you need to either SET RESOURCE OFF, or if you have settings that you want all users to have you can take a copy of the FOXUSER.DBF&FPT files and rename it to, say VFPUSER.DBF & VFPUSER.FPT and include it in your project file. Then in your opening commands do someting like

SET RESO OFF
STORE SYS(2015) TO m.RESOFILE
USE VFPUSER
COPY TO (M.RESOFILE)
SET RESO TO (M.RESOFILE)
SET RESO ON

then before exiting the program

SET RESO OFF
ERASE (M.RESOFILE+'.DBF')
ERASE (M.RESOFILE+'.FPT')

HTH
//:^)
L.A.Long
ProgRes
lalong1@charter.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform