Is it possible that File.ReadList has a limit on the file size of the ascii file I want to read ?
When I try to read a large ASCII file I get an error. When I try with a smaller file, it seems to be OK.
Attached the ASCII file
Dim oList As List = File.ReadList(File.DirDocuments,"AD_Stocks_DB.txt")
Error occurred on line: 3793 (main)
Error reading file. Incorrect encoding
Stack Trace: (
CoreFoundation <redacted> + 150
libobjc.A.dylib objc_exception_throw + 38
CoreFoundation <redacted> + 0
iStock -[B4IFile ReadString2:::] + 524
iStock -[B4IFile ReadString::] + 86
iStock -[B4IFile ReadList::] + 70
CoreFoundation <redacted> + 68
CoreFoundation <redacted> + 300
iStock +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1928
iStock -[B4IShell runMethod:] + 496
iStock -[B4IShell raiseEventImpl:method:args::] + 1846
iStock -[B4IShellBI raiseEvent:event
arams:] + 1316
iStock __50-[B4I raiseEventFromDifferentThread:event
arams:]_block_invoke + 74
libdispatch.dylib <redacted> + 10
libdispatch.dylib <redacted> + 22
libdispatch.dylib _dispatch_main_queue_callback_4CF + 718
CoreFoundation <redacted> + 8
CoreFoundation <redacted> + 1512
CoreFoundation CFRunLoopRunSpecific + 476
CoreFoundation CFRunLoopRunInMode + 106
GraphicsServices GSEventRunModal + 136
UIKit UIApplicationMain + 1440
iStock main + 116
libdyld.dylib <redacted> + 2
)
Can I use another function to read line by line from an ASCII file ?