ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Web Browser Control for Animation. (https://www.excelbanter.com/excel-programming/338145-web-browser-control-animation.html)

ExcelMonkey

Web Browser Control for Animation.
 
I have put a web browser control on a userform. I want to animate a graphic
with it. I can't seem to get the grahpic to animate. I trigger the entire
thing off a button click event. Am I triggering it off the right event?
Thanks


Private Sub CommandButton1_Click()
Call Thing
End Sub

Sub Thing()
UserForm1.Show
End Sub

Private Sub UserForm1_Activate()
UserForm1.WebBrowser1.Navigate = "C:\Documents and
Settings\Me\Desktop\Graphic.bmp"
End Sub



Tom Ogilvy

Web Browser Control for Animation.
 
As far as I know, only a GIF supports animation. A bitmap does not.


here is some past discussion on the topic:

http://tinyurl.com/8tr64

--
Regards,
Tom Ogilvy

"ExcelMonkey" wrote in message
...
I have put a web browser control on a userform. I want to animate a

graphic
with it. I can't seem to get the grahpic to animate. I trigger the

entire
thing off a button click event. Am I triggering it off the right event?
Thanks


Private Sub CommandButton1_Click()
Call Thing
End Sub

Sub Thing()
UserForm1.Show
End Sub

Private Sub UserForm1_Activate()
UserForm1.WebBrowser1.Navigate = "C:\Documents and
Settings\Me\Desktop\Graphic.bmp"
End Sub






All times are GMT +1. The time now is 01:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com