brohans
asked on
animation?
i want like an animation to be displayed when i am searching for a record
like the "find files" one on win95..the animation will stop if no record is found
and will disappear if record is found..
how do i do this in vb5?
like the "find files" one on win95..the animation will stop if no record is found
and will disappear if record is found..
how do i do this in vb5?
The easiest way to do this is with a picture object array...
(in form_load)
set objPics(0) = LoadPicture("Buttefly1.bmp ")
set objPics(1) = LoadPicture("Buttefly2.bmp ")
etc...
then in the timer event you cycle the images
Static intCount as integer
if intCount = 0 then
intCount = 1
Else
intCount = 0
End if
PaintPicture objPics(intCount), 0, 0
(in form_load)
set objPics(0) = LoadPicture("Buttefly1.bmp
set objPics(1) = LoadPicture("Buttefly2.bmp
etc...
then in the timer event you cycle the images
Static intCount as integer
if intCount = 0 then
intCount = 1
Else
intCount = 0
End if
PaintPicture objPics(intCount), 0, 0
ASKER
i looking for the animation avi file and the code to play it in vb5 if searching ...
if no records are found...it will stop playing...
can anyone tell me how to do this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
-- george