K
kevininstructor
I have the following code
Private Sub Form1_DragEnter(ByVal sender As Object, ByVal e As
System.Windows.Forms.DragEventArgs) Handles MyBase.DragEnter
If e.Data.GetDataPresent(DataFormats.FileDrop) Then
e.Effect = DragDropEffects.Copy
End If
End Sub
If I drag from Explorer "My Documents" as shown below
C:\Documents and Settings\gallaghe\My Documents
All works fine. If I instead drag the same folder but labeled as "My
Documents", this time as a virtual folder the code above refuses to accept
the folder.
Any thoughts why? Can this be overcome?
Thanks for any assistance you can help me with!!!
Kevin
DotNet 1.1 on Windows XP
Private Sub Form1_DragEnter(ByVal sender As Object, ByVal e As
System.Windows.Forms.DragEventArgs) Handles MyBase.DragEnter
If e.Data.GetDataPresent(DataFormats.FileDrop) Then
e.Effect = DragDropEffects.Copy
End If
End Sub
If I drag from Explorer "My Documents" as shown below
C:\Documents and Settings\gallaghe\My Documents
All works fine. If I instead drag the same folder but labeled as "My
Documents", this time as a virtual folder the code above refuses to accept
the folder.
Any thoughts why? Can this be overcome?
Thanks for any assistance you can help me with!!!
Kevin
DotNet 1.1 on Windows XP