Ive seen this topic quite a bit in the VB.NET Forum I frequent; people wanting to move Borderless Forms and such. So here’s a tutorial to simply show you how easy it is.

First, we need to declare our variables:

CODE

Dim drag As Boolean
Dim mousex As Integer
Dim mousey As Integer