StartLogic - Affordable Webhosting

Load Text File to Grid

image: DrawPlus X2 from Serif image: PhotoPlus X2 from Serif

Hi,

I thought of putting more Grid examples in here.

So today, let’s see how to Load a Text File to Grid. The Text File contains a few lines. Each line contains data separated by the pipe symbol “|”. I prefer this symbol than others because I never use it for anything else.This kind of files are called CSVs, comma separated value files.

NOTE: For the sake of clarity, most examples in this blog have excluded error checking functions .  If you plan to develop apps, you need to include error checks to control them whenever it happened.

Screen Shot : Load Text File to Grid

Screen Shot : Load Text File to Grid

Please Login or Register to download this file.

Please comment if you download this file.

I have another GRID example to be posted soon.


10% off New York Times Best Sellers at eBooks.com

  • Share/Save/Bookmark

10 comments to Load Text File to Grid

  • LukasNc

    Tanks!!!
    But how to load data from file to listbox ?

  • This is very easy to do. You can download the sample at http://www.azman.info/ams . They are samples for AMS version 6 but can be opened using AMS version 7.5

    Anyway, I will upload Listbox samples for AMS 7.5 tonite.

  • LukasNc

    Tanks man !!!

  • Hi Lukas,

    The sample is up in this site.

    I have 10 more samples for ListBox. Will upload them day by day.

  • LukasNc

    oi cara! tenho um projeto aqui e queria que você me ajudasse com ele…eu só fiz o template e queria que você me ajudasse a colocar os scripts..faz tempo que to tentando conseguir e não consigo…mas com aquele script que você colocou sobre carregar um arquivo de texto para o Listbox ficou um pouco mais facil..desculpa aí se eu to enchendo muito…
    E desculpa pelo meu inglês é que eu sou brasileiro e tou usando o google translator..hehehe…
    manda algum email,msn ,myspace ou alguma coisa pra contato ?
    obrigado!

  • LukasNc

    hi guy! I wanted a project here and you help me with it … I just did the template and want you help me to put the script .. is that time trying to achieve and I can not … but with this script that you load placed on a text file to Listbox was a little easier .. I’m sorry there is very filling …
    And sorry for my English is that I am Brazilian and am using the google translator .. hehehe …
    send some email, msn, myspace or something for contact?
    thanks!

    …sorry for double post …

  • Hi Lukas,

    Don’t say sorry for double post. I appreciate it very much because you use Brazilian in one and English in another. Making this blog more interesting.

    Good luck !!

  • halt11

    hi from Argentina,
    a need to load data to a tree from a text file (
    author1, book1, book1.pdf
    author1, book2, book2.pdf
    author1, book3, book3.pdf…
    ….
    …..
    author6, book65, book65.pdf
    author6, book66, book66.pdf
    ….)
    any help please …
    Horacio

  • mikelgaya

    thx for the example

  • nsxall

    Hello! From China. My English is difficult.
    With the Google translation, learning. Thank you for sharing

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>