how to read a text file into an array
In earlier posts I was having problems calling a function to read a text file into an array. Below is the function I used and how I called it. It works with any text file with integers, just include the path along with the name.
Sub Main()
dim ar() as...
reply to help
I was wondering how to make the file input any random file, with the path included. I toyed with your sub and it is pasted below. Any suggestions?
Sub ReadInputFile()
Dim strContents As String
Dim objReader As System.IO.StreamReader
Dim n As String
objReader = New...
console app help/ RESOLVED
Hi everyone, I am new to vb.net and I am having problems getting a console application to read a text file into an array and perform various calculations on it after that. I have done everything I think I know how to do and cannot even get the program to read the file...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.