we using windows 8.1 for a few days now
so we installed visual basic .net 2012 and starting our projects again we used in windows 7
but now it seems that the drag and drop doesn't work in windows 8.1
we only gets a forbidden icon when we drag it over the control
please can someone tell us why windows 8.1 won't work with drag and drop
we hope this can be fix in anyway because we don't like when our users use our programs
and tell us that this point wont work in windows 8.1
our code:
Private Sub FlowLayoutPanel1_DragDrop(sender As Object, e As DragEventArgs) Handles FlowLayoutPanel1.DragDrop If (e.Data.GetDataPresent(DataFormats.FileDrop)) Then e.Data.GetData(DataFormats.FileDrop) End If End Sub Private Sub FlowLayoutPanel1_DragEnter(sender As Object, e As DragEventArgs) Handles FlowLayoutPanel1.DragEnter Try If (e.Data.GetDataPresent(DataFormats.FileDrop)) Then e.Effect = DragDropEffects.Copy Else e.Effect = DragDropEffects.None End If Catch ex As Exception Exit Sub End Try End Sub
Thank you.
Dummy
p.s
we also got help from social msdn
here the topic who all answered.