Quote Originally Posted by LaVolpe View Post
Per that vbAccelerator article's sample code: Function, not sub
Code:
Public Function TimerRoutine( _
      ByVal wTimerID As Long, ByVal iMsg As Long, _
      ByVal dwUser As Long, ByVal dw1 As Long, ByVal dw2 As Long _
   ) As Long

End Function
Function returns no value. Additionally that multimedia callback has 5 parameters not 4. Strongly recommend you read over that article and download the sample code to review it
with that advice and 1 public variable i put it to work(for catch the usercontrol.hwnd property and use it in sendmessage() api function).
and seems more acuracy and definition.
thanks very much