i have a notepad file which is C:/Students.txt and i want the file to open up into a listbox on VB. is there any way i can do that?
This is what i have so far, but i recieve an error saying "Type Mismatch" does anyone know what im doing wrong? if so please help me correct it!
---------------------------
Dim List As String <<Declaration
-----------------------------
Open "C:\students.tx t" For Input As #1
Input #1, List
StudentList.Lis tIndex = List
This is what i have so far, but i recieve an error saying "Type Mismatch" does anyone know what im doing wrong? if so please help me correct it!
---------------------------
Dim List As String <<Declaration
-----------------------------
Open "C:\students.tx t" For Input As #1
Input #1, List
StudentList.Lis tIndex = List
Comment