Jump to content

_GUICtrlListView_AddArray Problem


Recommended Posts

Hey guys, i'm really puzzled on trying to do this in one of my GUI's i'm making. What i am trying to do is get any sound file from the MyDocuments folder into a array. Then place it into a List View. But i really don't know what to do. I'm thinking you have to read it to an array, then create the file it read to an array. After that udr _GUICtrlListView_AddArray. Any Suggestions?, Thanks.

Link to comment
Share on other sites

Hey guys, i'm really puzzled on trying to do this in one of my GUI's i'm making. What i am trying to do is get any sound file from the MyDocuments folder into a array. Then place it into a List View. But i really don't know what to do. I'm thinking you have to read it to an array, then create the file it read to an array. After that udr _GUICtrlListView_AddArray. Any Suggestions?, Thanks.

List files to an array with _FileListToArray(), then loop through that array with a For/Next loop adding to your ListView.

I have no idea what you mean by the middle step, but it is probably unnecessary: "...then create the file it read to an array"?

muttley

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...