General information
Category:
Coding, syntax & commands
Title:
Read file from disk, not from exe
I have a config.fpw included with the exe as a text file in the project/other section. In the exe I have a function that needs to read the content of another disk file, in a different folder. The disk file happens to be named config.fpw as well, yet VFP functions (FILE(), FREAD(), etc) keep reading the content of the config.fpw file from the exe, even though I pass the file name with the complete path.
There must be a way to force VFP to read the file from disk, right? TIA
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only