CodeItBetter Programming Another VB Programming Blog

How to display animated Gif in your program

Posted on January 5, 2009
1
2
3
4
5
6
7
8
9
10
11
'Graphics - How to display animated Gif in your program

Option Explicit
 
'You can use the WebBrowser Control to display the Animated Gif file in your program.

'Add the WebBrowser Control to your form. (Select "Microsoft Internet Controls" from Components).

Private Sub Form_Load()
    WebBrowser1.Navigate "about:<html><body scroll='no'><img src='C:\Temp\Test.gif'></img></body></html>"
End Sub
Filed under: Graphics Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.