I have code for copying files to a folder using commondialog.

would it be much different to implement a similar feature to allow users to remove files. Heres the code used for adding.

VB Code:
  1. Private Sub Command2_Click()
  2.  
  3.  
  4.     Dim f1 As Integer, songpath As String, xmlpath As String, songname As String, mp3path As String, f2 As Integer, i As Integer
  5.    
  6.     xmlpath = "C:\Program Files\mgamerz\"
  7.  
  8.     mp3path = "C:\Program Files\mgamerz\my_mp3s\"
  9.    
  10.      f2 = FreeFile
  11.     Open mp3path & "mp3.txt" For Output As #f2       ' if you don't need mp3.txt take out
  12.      f1 = FreeFile
  13.      
  14.     Open xmlpath & "audiolist.xml" For Output As #f1
  15.    
  16.     Print #f1, "<?xml version=""1.0""?>"
  17.     Print #f1, "<songs>"
  18.     songname = Dir(mp3path & "\*.mp3")   ' get first track
  19.     i = 1
  20.     While Not Len(songname) = 0
  21.         songpath = "<song path=""" & mp3path & songname & """ title=""" & songname & """/> "
  22.         Print #f1, songpath
  23.         Print #f2, songname                  ' for mp3.txt
  24.         Sleep 100                                ' slight pause, needed
  25.         songname = Dir                         ' get next track
  26.    
  27.     Wend
  28.     Print #f1, "</songs>"
  29.  
  30.  
  31. Close
  32.  
  33.  
  34. End Sub

Thanks Rob