Il giovedì 30 aprile 2009 19:46:25 Joshua Higgins ha scritto: > Hi all, > > Is it possible to read a file and load it line by line into a listview, but > backwards? I have been using the example from gambasdoc for loading files > line by line, but I'm writing a logging page and want to show newest items > first. > > Thanks.
Or you can using the magic of shell: Dim sReverseFile as String SHELL "tac " & PathToFile TO sReverseFile then load sReverseFile. If file is big consider creating a temporary file for redirecting 'tac' to. Saluti, Stefano ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
