Staredit Network

Staredit Network -> Computers and Technical -> Need Help
Report, edit, etc...Posted by Oo.Insane.oO on 2006-12-08 at 16:54:23
Can someone give me a code that will load a text file into a list

Thanks
Report, edit, etc...Posted by MindArchon on 2006-12-08 at 18:08:20
I just threw this together quickly:

CODE
Dim FreeF as long, LineGrab as string
FreeF = Freefile

Open App.Path & "\whatever.txt" for input as FreeF

Do While Not Eof(FreeF)

Line Input #FreeF, LineGrab
WhateverList.AddItem LineGrab

Loop

Close FreeF
Report, edit, etc...Posted by Centreri on 2006-12-08 at 18:36:41
VB currently looks like the most confusing language. FreeF?...
Report, edit, etc...Posted by Oo.Insane.oO on 2006-12-08 at 18:46:46
QUOTE(Centreri @ Dec 8 2006, 06:36 PM)
VB currently looks like the most confusing language. FreeF?...
[right][snapback]601300[/snapback][/right]


I guess it means Freefile tongue.gif

ADDITION:
Thanks Mindarchon smile.gif
Report, edit, etc...Posted by DT_Battlekruser on 2006-12-08 at 19:08:54
QUOTE(Centreri @ Dec 8 2006, 03:36 PM)
VB currently looks like the most confusing language. FreeF?...
[right][snapback]601300[/snapback][/right]


He's just naming FreeF as a variable.
Next Page (1)