Without seeing the code, it is difficult if not impossible to diagnose the second problem: please provide a relevant code fragment!
For drag and drop:
1) Set the AllowDrop property of your form to True
2) Create a handler for both the DragEnter and DragDrop events of your form.
3) In the DragEnter handler, add the following line of code:
e.Effect = DragDropEffects.Move;
4) In the DragDrop handler, add the following:
string[] files = (string[]) e.Data.GetData(DataFormats.FileDrop);
if (files != null)
{
foreach (string file in files)
{
Console.WriteLine(file);
}
}
Or, if you need in in VB...:O
Dim files As String() = DirectCast(e.Data.GetData(DataFormats.FileDrop), String())
If files IsNot Nothing Then
For Each file As String In files
Console.WriteLine(file) ' Or whatever you need to do...
Next
End If