Drag Drop problem

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
 
K

kevininstructor

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top