Private Declare Function LoadCursorFromFile Lib "user32" Alias "LoadCursorFromFileA" (ByVal lpFileName As String) As Long
Private Declare Function SetClassLong Lib "user32" Alias "SetClassLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Private Sub Form_Load()
Dim HCursor As Long
HCursor = LoadCursorFromFile("F:\Program Files\Microsoft Visual Studio\Common\Graphics\Cursors\C_WAIT05.CUR")
SetClassLong Me.hwnd, -12, HCursor
End Sub