So, I've been getting some help from the community on some issues (mainly G_Waddle, thanks again!). I'm a VB6 rookie, and it's been a while since I even did coding with that. So, basically here is my VB6 snippet. It's very straight forward and easy to code in VB6, but I am struggling in the conversion to .net. An answer is all I need, I'm one that takes an answer apart and figures out why it works. So, here's my code...anyone who can convert this over to VB.net is golden!! I really need some assistance with this if someone could take 5 minutes to do, I know it's got to be easy as can be! Thanks in advance guys!
csv/txt file data:
Private Sub Form_Load() Open App.Path & "\Test_data.csv" For Input As #1 Dim headings() As String Line Input #1, variables headings() = Split(variables, ",") For i = 0 To UBound(headings) Label1(i).Caption = headings(i) Next Do While Not EOF(1) Line Input #1, variables headings() = Split(variables, ",") For i = 0 To UBound(headings) List1(i).AddItem headings(i) Next Loop Close #1 End Sub