hey guys i was wondering if anybody knew how to open an array into visual basic. I have it saving as a text file correctly but i have no idea on how to open it up to use it again. what i have so far is
Private Sub Hour1ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Hour1ToolStripMenuItem.Click
myLoadSubHour(1)
End Sub
Private Sub myLoadSubHour(ByVal selHourFileNumber As Integer)
Dim myNamesFile As String = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & "\Hour " & selHourFileNumber.ToString & ".txt"
If File.Exists(myNamesFile) Then
arFileLines = File.ReadAllLines(myNamesFile)
arFileLines(AddStudent) = Display
End If
End Sub
Any ideas how to open it up?