How to DragDrop and Copy the Nodes in a TreeView in VB.Net

This tutorial is all about How to DragDrop and Copy the Nodes in a TreeView in VB.Net.
In this tutorial, I will show you how to drag, drop and copy the “nodes” in a Treeview using Visual Basic 2008. I made this to show you not only a PictureBox or a TextBox can be drag and drop but also a “nodes” in a treeview.

Let’s begin:

Open Visual Basic 2008, create a new Windows Form Application and drag the two Treeview in the Form. Name it “trview_left” and “trview_right”.

After that, click the two Treeviews and go to the properties. In the properties, click the events that look like a lightning symbol and double click the Drag/Drop event handler. And do this following code.