When I read a text file as the code below the first line returns as nothing.
I checked the text file and it contains 3 lines before the read. After the read the first line is blank the following 2 lines have values.
I don't write back to the file, yet the first line is missing!?
Dim objReader As System.IO.StreamReader
objReader = New System.IO.StreamReader(ReturnApplicationFolder() & "risk.rsf")
gFullPathofDB = objReader.ReadLine
sDatabaseLocation = gFullPathofDB
iSplitProject = objReader.ReadLine
iSplitQuestions = objReader.ReadLine
objReader.Close()