Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Users can only load one session of my network app?
Message
De
17/08/1998 13:21:30
 
 
À
15/08/1998 02:08:47
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00126924
Message ID:
00127480
Vues:
36
>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
>//:^)
-------
thanks larry - that does help alot.. :)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform