Load ListBox from Text File
I’m fulfilling a promise made to Lukas that I would post an example on how to Load ListBox Text & Data from a Text File. This will also help others who need this reference.
In this example, I’m not using the popular Delimited Function. The function looks daunting to some friends who are starting out with AMS. Instead, I’m using the following powerful Actions, yet very simple to use:
> TextFile.ReadToTable
> String.Find, String.Mid and String.Left
With only a few short lines of scripts, the task is done. Read CSV File, pass the Text & Data accurately to a ListBox.
I’ve also added 2 very useful ListBox features to this example :
1. Select an Item in the ListBox, a Label Object will show the Data
2. Double-Click an Item in the ListBox, a Webbrowser will open.
Please Login or Register to download this file.
Please leave a comment.

