Visual Basic has a problem reading a line of text of a text file if the line starts with a number?
Anybody know a way around this problem?
Mark S
Printable View
Visual Basic has a problem reading a line of text of a text file if the line starts with a number?
Anybody know a way around this problem?
Mark S
Dim qwe() as byte
Open MyFile For Input as #1
Redim qwe(1 to LOF(1))
Get #1 , , qwe
close #1
'you got an array of bytes; to get a string
'from it, do :
Din MyStr as String
MyStr = StrConv(qwe,VbUnicode)
not for Input... but For Binary as #1
sorry