Hi
I have no doubt that this is a very simple Newbie problem.
In B4A Designer I have used the Add Files feature to add a windows file
Products.txt I assume that this would be an internal file However the
following code gives an error "No such Directory or File"
Dim Reader As TextReader
Reader.Initialize(File.OpenInput(File.DirInternal,"Products.txt"))
Dim line As String
line = Reader.ReadLine
Do While line <> Null
Log(line)
line = Reader.ReadLine
Loop
Reader.Close
Can anyone save my sanity and provide a solution?
Regards
pbmjoe
:sign0163:
I have no doubt that this is a very simple Newbie problem.
In B4A Designer I have used the Add Files feature to add a windows file
Products.txt I assume that this would be an internal file However the
following code gives an error "No such Directory or File"
Dim Reader As TextReader
Reader.Initialize(File.OpenInput(File.DirInternal,"Products.txt"))
Dim line As String
line = Reader.ReadLine
Do While line <> Null
Log(line)
line = Reader.ReadLine
Loop
Reader.Close
Can anyone save my sanity and provide a solution?
Regards
pbmjoe
:sign0163: