L
LoSTMaN
Hi,
Did someone have a idea why this code always return False when i drag a
filename.bmp in my PictureBox.
Private Sub PictureBox1_DragEnter(ByVal sender As Object, ByVal e As
DragEventArgs) Handles PictureBox1.DragEnter
If e.Data.GetDataPresent(DataFormats.Bitmap) Then ============>>>
Here, always return false
e.Effect = DragDropEffects.Copy
Else
e.Effect = DragDropEffects.None
End If
End Sub
Thank you.
Did someone have a idea why this code always return False when i drag a
filename.bmp in my PictureBox.
Private Sub PictureBox1_DragEnter(ByVal sender As Object, ByVal e As
DragEventArgs) Handles PictureBox1.DragEnter
If e.Data.GetDataPresent(DataFormats.Bitmap) Then ============>>>
Here, always return false
e.Effect = DragDropEffects.Copy
Else
e.Effect = DragDropEffects.None
End If
End Sub
Thank you.