Sep 20, 2005 #1 stuartd Programmer Joined Jan 8, 2001 Messages 146 Location US Hi, I want to read a file line by line using eVB. Can i do this? All i can find in the help file is 'ReadFile' which reads the whole thing in one go. SD
Hi, I want to read a file line by line using eVB. Can i do this? All i can find in the help file is 'ReadFile' which reads the whole thing in one go. SD
Oct 10, 2005 #2 DSummZZZ Programmer Joined Oct 24, 2000 Messages 4,250 Location US I think you better take another look Code: BOOL CeReadFile( HANDLE hFile, LPVOID lpBuffer, DWORD [COLOR=blue]nNumberOfBytesToRead[/color], LPDWORD lpNumberOfBytesRead, LPOVERLAPPED lpOverlapped); -Dave Summers- Even more Fox stuff at: http://www.davesummers.net/foxprolinks.htm Upvote 0 Downvote
I think you better take another look Code: BOOL CeReadFile( HANDLE hFile, LPVOID lpBuffer, DWORD [COLOR=blue]nNumberOfBytesToRead[/color], LPDWORD lpNumberOfBytesRead, LPOVERLAPPED lpOverlapped); -Dave Summers- Even more Fox stuff at: http://www.davesummers.net/foxprolinks.htm
Oct 11, 2005 Thread starter #3 stuartd Programmer Joined Jan 8, 2001 Messages 146 Location US You are right - i was following the intellisense, which says : Readfile(filename as string) as string I'll look at the help better next time . . . SD Upvote 0 Downvote
You are right - i was following the intellisense, which says : Readfile(filename as string) as string I'll look at the help better next time . . . SD