flickers are my problem too
Is it totally possible to get rid of flickering when animating (toggling between pictures) in a picturebox or image control? I have included a sample of a very simple animation that still flickers. The files are vectors (wmf) and are not large. I even get the mild flickering when I run a loop with only one picture. It is holding up our project. I would greatly appreciate any help. Are the things I've read in this thread pertinent to my situation? I'm pretty new to Visual Basic 6.0.
Dim TTCount As Integer
Dim ZZCount As Long
For TTCount = 1 To 25
For ZZCount = 1 To 5000000 'Pause loop
Next
Set Picture6.Picture = LoadPicture"C:\My Documents\Pictures\Pic1.wmf")
For ZZCount = 1 To 5000000 'Pause loop
Next
Set Picture6.Picture = LoadPicture("C:\My Documents\Pictures\Pic2.wmf")
Next
How about a recommendation of a good book? I am also trying to move some pictureboxes, and that's not going too badly. But is Visual Basic the wrong program for commercial instructional software that uses a lot of the kinds of animation that I have described here? Thank you very much.