NEED Help PLS !!! VB.NET- Drag & Dop Problem
hey guys
i'm making a listbox with drag and drop event but there is something,i wanna when i drop the file in the list box it opens an open dialog file and automatically choose the file from the path which appears in the listbox when i drop a file in it
i knew hw to open the opendialogfile when i drop it but i don't know how let it automatically get the file from the path which appears in the listbox
and thats the code which i use when drop to open "opendialogfile"
pls answer me QUICKLY
as i think that this need an expert in VB.NET
@Hassan
i'm making a listbox with drag and drop event but there is something,i wanna when i drop the file in the list box it opens an open dialog file and automatically choose the file from the path which appears in the listbox when i drop a file in it
i knew hw to open the opendialogfile when i drop it but i don't know how let it automatically get the file from the path which appears in the listbox
and thats the code which i use when drop to open "opendialogfile"
Code:
Dim s() As String = e.Data.GetData("FileDrop", False)
Dim i As Integer
For i = 0 To s.Length - 1
listBox1.Items.Add(s(i))
Next i
openFileDialog1.Filter = "DLL (*.dll) |*.dll"
openFileDialog1.ShowDialog()
as i think that this need an expert in VB.NET

@Hassan

