Been a long while since I did any programming in Foxpro ... I was recently given a 1M text file of raw data that needs to be parsed into a table ... I pulled out some of my old code and just created a short program to load this file only to hit a wall with the FOPEN command.
dim hFile as ulong
dim iRet as ulong
hFile = FOPEN("c:\tmp\file.txt",10)
iRet = FSEEK(hFile,0,0)
FOPEN is always returning -1 which indicates FOPEN isn't opening this file for some reason ... I suspect this is probably related to the size of the file? I created a simple 3 line text file and it opened fine so I know this code is working.
Is there anyway to get past this issue in VFP 9 under XP PRO SP3?
dim hFile as ulong
dim iRet as ulong
hFile = FOPEN("c:\tmp\file.txt",10)
iRet = FSEEK(hFile,0,0)
FOPEN is always returning -1 which indicates FOPEN isn't opening this file for some reason ... I suspect this is probably related to the size of the file? I created a simple 3 line text file and it opened fine so I know this code is working.
Is there anyway to get past this issue in VFP 9 under XP PRO SP3?