How do you read data from a file and fill an array?
anf39 0 Newbie Poster
Recommended Answers
Jump to PostFirst a reminder to please insert code using the Code tool. This preserves formatting. You can avoid the messy details of IO by
If File.Exists(DiskFile) Then Dim intCount As Integer = 0 For Each line As String In System.IO.File.ReadAllLines(strFileName.txt) EmpData(intCount) = Cstr(line) intCount += 1 if intCount …
All 3 Replies
Eternal Newbie 30 Newbie Poster
anf39 0 Newbie Poster
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.