D
David J Boyd
I'm trying to add a 'WebBrowser' object to a slide in PowerPoint 2002 such
that it can be visible when that slide is shown, and can refresh its URL
using the Navigate2 method.
I started from a demo .ppt which contained a WebBrowser object. That demo
also has a button on the slide which calls the WebBrowser.Navigate2 method
within the button's OnClick event handler. This works, the URL loads and is
displayed.
But I'd like to have the browser activate and navigate based on something
more automatic, like each time the slide appears, or the slideshow starts.
Nothing I've tried so far works - I've tried to create a class module which
includes:
Public WithEvents App As Application
and then I've tried writing code in App_SlideShowBegin,
App_SlideShowNextSlide, etc.
If I manually run the code that instantiates the Application object, I can
get this to work - but only then. I've turned PowerPoint's security
settings down to low.
Can a VBA for PowerPoint guru suggest a way to get this to work? I would
very much appreciate it.
Thanks,
Dave
that it can be visible when that slide is shown, and can refresh its URL
using the Navigate2 method.
I started from a demo .ppt which contained a WebBrowser object. That demo
also has a button on the slide which calls the WebBrowser.Navigate2 method
within the button's OnClick event handler. This works, the URL loads and is
displayed.
But I'd like to have the browser activate and navigate based on something
more automatic, like each time the slide appears, or the slideshow starts.
Nothing I've tried so far works - I've tried to create a class module which
includes:
Public WithEvents App As Application
and then I've tried writing code in App_SlideShowBegin,
App_SlideShowNextSlide, etc.
If I manually run the code that instantiates the Application object, I can
get this to work - but only then. I've turned PowerPoint's security
settings down to low.
Can a VBA for PowerPoint guru suggest a way to get this to work? I would
very much appreciate it.
Thanks,
Dave