Link to home
Start Free TrialLog in
Avatar of brohans
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?
Avatar of endeavor
endeavor

I am pretty sure .AVI files are involved but I dont know how to do it.

-- george

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

Avatar of brohans

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
Avatar of SeanGiles
SeanGiles

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial