Haven't had time to do anything with this since I posted my question. Thanks to all who contributed to an answer.

When I try this:
    textInput = f.OpenAsTextFile
    ListBox1.Cell(-1, -1) = textInput.ReadAll

All I get is data on the first row.

My Listbox is 10 columns wide. The file consists of 10 text fields separated by tabs, with a c/r on the end. Over 13,000 lines.

I've tried this with a virgin listbox and also one that has been partially filled, with the same results.

I'm using RB2006R1.

Any suggestions?

-Richard


On Aug 21, 2006, at 2:50 PM, Richard wrote:

Is there any way to save (and load) a multi-column listbox to a file as a single entity?

The reason I ask is that, as far as I know, the only way to save & restore the contents of a listbox is one item at a time via code. I have a 10-column listbox with 13,000 rows and to reload it from a file one item at a time takes forever and a day. I think the slowdown is in AddRow when the listbox has many rows in it, since the first few hundred rows load in a flash, but by the time it has several thousand rows in it, it has slowed to a crawl. Can anyone suggest a solution?

Thanks,
Richard
_______________________________________________
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>

_______________________________________________
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