My current code is the following
Dim a As String = My.Computer.FileSystem.ReadAllText(Application.StartupPath & "\AppList.txt") Dim B As String() = a.Split(vbNewLine) ListBox1.Items.AddRange(B)/>
Which correctly loads the lines from AppList.txt into the ListBox like below.
AppName1
AppName2
AppName3
Now i edited the Applist.txt adding a path and executable names seperated by ; 's like shown below.
AppName1;\\server\appname\;AppNameSetup1.exe
AppName2;\\server\appname\;AppNameSetup2.exe
AppName3;\\server\appname\;AppNameSetup3.exe
And im trying to change the original code to include parsing all three sets of text between the ; 's seperately but am completely lost.
Something like this i imagine. But i know its obviously not right.
Dim a As String = My.Computer.FileSystem.ReadAllText(Application.StartupPath & "\AppList.txt")
Dim B As String() = a.Split(";")
For I = 0 To UBound(B)/> - 1 Step 3
Next
ListBox1.Items.AddRange(I)
End

New Topic/Question
Reply



MultiQuote




|