[Help] Music Saver [solved]

Posts 1–9 of 9 · Page 1 of 1
[Help] Music Saver [solved]
Well I'm searching on youtube and dont find anything . . .
I just want to know, I have a ComboBox with a List of Paths of some archives I need a buttom that PUT ALL that archives in a folder

Nothing?..
Umm off my head

Code:
        Dim a
        a = ListBox1.Items.Count
        For Each a In ListBox1.Items
            My.Computer.FileSystem.CopyFile(ListBox1.Items.Item(a), "FileDestination")
        Next
Code:
ListBox1.Items.Add("Song " & "" & OpenFileDialog1.FileName)
How can i add that shows the File name? it shows the path but no the name.
^^This works. In theory at least
Dim str as string
Str = listbox1.items.selecteditem.replace("FilePathHereN OTFILENAME","")

...? Pseudocode
That code dont work..
Umm your using OpenFileDialog correct?

if so then

add a new listbox and this will be your names

Code:
For Each track2 As String In OpenFileDialog1.SafeFileNames
            ListBox2.Items.Add(track2)
resolved thanks
you could create a string array save it there then use it at the end?

Or a List<string> i guess.

Duno if that is supported in VB but it should be.
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us