Drag Drop problem

  • Thread starter Thread starter kevininstructor
  • Start date Start date
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
 
I am cross posting to languages.vb because this was the original location
but somehow did this formum by accident. I apologize for cross-posting when
I know this is not proper etiquette.
 
Back
Top