] Dim GETWORD
Dim GETLINE
Dim ARRAYNUMBER As Integer
Dim itmx As ListItem
nFileNum = FreeFile
Open "C:\Documents and Settings\Reece\My Documents\I.T\Visual Basic\Reece\client.db" For Input As nFileNum
If Input(LOF(nFileNum), nFileNum) > "0" Then
GETLINE = Input(LOF(nFileNum), nFileNum)
GETLINE = Split(GETLINE, "*")
Do While GETLINE(ARRAYNUMBER)
GETWORD = Split(GETLINE(ARRAYNUMBER), "|")
Set itmx = lvwdbase.ListItems.Add(, , GETWORD(0))
itmx.SubItems(1) = GETWORD(1)
itmx.SubItems(2) = GETWORD(2)
itmx.SubItems(3) = GETWORD(3)
itmx.SubItems(4) = GETWORD(4)
ARRAYNUMBER = ARRAYNUMBER + 1
Loop
Close nFileNum
End If
Any Idea why itd be sayin input past end of file?
client.db has
Courtney Osborne|Reece Alexander|650|$82,722|Edit/View*
Diane Alexander|Raymond Alexander|340|$22,021|Edit/View*