Renderer

Autoit save Listview Data to file

4 posts in this topic

#1 ·  Posted

Hi guys! Today I wann ask you how do I save the data found in a Listview to a file. Once I was able to do that, but now I can not remember how anymore. 

Thanks in advance.

Share this post


Link to post
Share on other sites



You could use the function on this thread to create an array  with the contents of a ListView, then use _FileWriteFromArray to save the array to a text file for one example.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

It looks like the  _GUICtrlListView_SaveTxt() UDF creates one big string which is written to a text file once completely built.  Keep in mind the string size limitation of 2147483647 characters in case the contents of the listview you want to "save;" is very large.  If you use the _GUICtrlListView_CreateArray() function instead it is doubtful (though not impossible) you'll hit any limitation.

Edited by spudw2k

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now