Private Sub DV_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles DV.MouseMove If e.Button = Windows.Forms.MouseButtons.Left Then 'Once the drag operation starts, the mousemove no longer fires and is replaced by the DragOver event. This means we dont have to check whether there is a drag operation in progress first Debug.WriteLine("DragDrop") StartDragDrop() End If End Sub
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
18 Experts available now in Live!