PDA

View Full Version : Running into infinite loop.....!! AAAHHH!!! >.<


singularity2006
12-02-2003, 06:44 AM
Okay, I'm trying to get a file with a list of entries to display onto a list box. I've tried displaying to a picbox, txtbox, and it still infinite loops. What am I doing wrong?

Private Sub cmdDisplayLogs_Click()

Open "login_activity.csv" For Input As #1
Input #1, FirstName, LastName, IDNumber, LogDate
Do While Not EOF(1)
lstLoginActivity.AddItem (FirstName & ", " & LastName & ", " & IDNumber & ", " & LogDate)
Loop
Close #1

End Sub

singularity2006
12-02-2003, 07:47 AM
ah nm. I got it. =)

CGTalk Moderation
01-16-2006, 07:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.