Hi,
Im teaching myself VB, specifically, how to create forms(im using VS Express 2013). I wanted to use the values from an xls file( already exported it as LMS.csv, a table with 4 rows X 3 columns) as constants for my form.
I've tried the codes below but its not working properly:
Using MyReader As New Microsoft.VisualBasic.FileIO.TextFieldParser("C:\LMS.csv")
MyReader.TextFieldType = FileIO.FieldType.Delimited
MyReader.SetDelimiters(",")
Dim currentRow As String()
Static LMSarray(11) As Double
While Not MyReader.EndOfData
currentRow = MyReader.ReadFields()
Dim currentField As Double
For Each currentField In currentRow
Dim I As Integer = 0
LMSarray(I) = currentField
I += 1
Next
End While
End Using
I'm lost, Please Help...
P.S. Im not a seasoned programmer, i just want to learn something new....