I'm trying to read lines from a file using:
But I get this error:Code:Dim FileLine As String = "" Dim File As Integer = FreeFile() Open "C:\text.txt" for Line Input # File
'Open' is not declared. File I/O functionality is available in the 'Microsoft.VisualBasic' namespace.
I tried to add Microsoft.VisualBasic as a reference, but it didn't work. Any help?![]()




Reply With Quote