Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Users can only load one session of my network app?
Message
From
17/08/1998 13:21:30
 
 
To
15/08/1998 02:08:47
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00126924
Message ID:
00127480
Views:
38
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform