Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading and Writing to the Resource file.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00982418
Message ID:
00982513
Views:
23
>I have tried something like this, but using the SYS(2005) instead. It worked great in the IDE, but insisted on creating a new FoxUser in the current folder when ran as a EXE. Then, the return value of SYS(2005) would be returned as a empty string. Is there any thing different the SYS() method then the SET() method of getting the table name?
>
>Thnaks

No.

Do you have SET RESOURCE ON / SET RESOURCE TO foxuser.dbf and do you have foxuser.dbf in the EXE folder?

I did a test in a project, it works if meet the following conditions?
1. SET RESOURCE ON 
2. SET RESOURCE TO FOXUSER.DBF
3. You have foxuser.dbf in the path the app is aware of .
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform