The code below will allow you to drag a borderless form.
   Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" _
   (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _
    lParam As Any) As Long

Private Declare Function ReleaseCapture Lib "user32" () As Long

Private Sub MoveWindow(hWnd As Long)
   Const WM_NCLBUTTONDOWN = &HA1
   Const HTCAPTION = 2

   'First release the mouse capture from the form
   '(The form captures all mouse messages as long as
   'the button is down if we don't do so)

   Call ReleaseCapture

   'Then tell the system the mousebutton was pressed
   'over the titlebar

   Call SendMessage(hWnd, WM_NCLBUTTONDOWN, HTCAPTION, 1&)

End Sub

Private Sub Form_MouseDown(Button As Integer, _
   Shift As Integer, X As Single, Y As Single)
   
   Call MoveWindow(Me.hWnd)
End Sub