I've got a skinned for with no standard title bar, so I want to be able to drag the label which is the custom titlebar and it will move the form just like the standard title bar does, here it is in vb6

VB Code:
  1. Private Declare Function SendMessage Lib "User32" Alias "SendMessageA" (ByVal hWnd As Long, _
  2.  ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
  3.  
  4. Private Declare Sub ReleaseCapture Lib "User32" ()
  5.  
  6. Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
  7.     Const WM_NCLBUTTONDOWN = &HA1
  8.     Const HTCAPTION = 2
  9.     If Button = 1 Then
  10.         ReleaseCapture
  11.         SendMessage Me.hWnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&
  12.     End If
  13. End Sub