On Oct 19, 2006, at 5:27 AM, Peter Lyberth wrote:

A vety simple one: How do i list a txt files in a listbox?
_______________________________________________

A very general question, so the generic answer is open the text file, making use of the examples in the Language Ref under TextInputStream and/or post a question if unclear how to open a text file, then read each line and insert the data into the listbox as appropriate. For example, if you want each line of the text file to become a row in a single column listbox:

:
Do
ListBox1.Addrow = f.MyTextInputStream.Readline
Loop Until TextInput.EOF
:

However, other issues will arise concerning the manner in which the data in the target file is formatted if your objectives include more than just a simple line to line transfer.


Best,

Jack
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to