I use the above code in my DragDrop event to get a list of files which were drag and dropped onto my form. My only problem is the order of the files. If I selected a bunch of files in explorer and drag them onto my form they are put into the f() array in a different order then they were selected and dragged.Code:Dim f() As String ' Assign the files to an array. f = e.Data.GetData(DataFormats.FileDrop)
Any suggestions?




Reply With Quote