MsgBox "Gotcha!! At last i made it!!!!!!", , "Animated Command Buttons"
End Sub
Private Sub Command2_Click()
'Alert
ans = MsgBox("Howzat folks, really kooooooooollll????. Wait for more code. Bye!!!!", vbYesNo, "Animated Command Buttons")
If ans = vbYes Then
End
End If
End Sub
Private Sub Form_Load()
i = 1
'Alert
MsgBox "This is a simple code, which teaches you, how to animate ur command buttons. For more info. go through the readme.txt file. Please don forget to rate my code.", , "Animated Command Buttons"
End Sub
' This animates the command button
Private Sub Timer1_Timer()
If i > 12 Then 'check the counter
i = 1 're-initialise
Else
'load frame to command button1
Command1.Picture = LoadPicture(App.Path & "\mail" & i & ".bmp")
'load frame to command button1
Command2.Picture = LoadPicture(App.Path & "\mail" & i & ".bmp")