Display PowerPoint Presentation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a PowerPoint slide show that I embed into one of my tables as on OLE
object. I want to display this presentation when the user clicks a command
button. What is the best way to do this?

Thanks!
 
Hi Chuck,

The best way (in my opinion) is not to embed the slide show at all.
Instead, leave it (or them) in a file (files) as usual and just store
the name and location of the file in a text field in your table (let's
call it SlideShow). Then, assuming the commandbutton's on a form that is
bound to this table, and there's a textbox txtSlideShow that is bound to
the field, all you need in the button's Click event procedure is:

Application.FollowHyperlink Me.txtSlideShow.Value

If you want to use embedded OLE objects, the least complicated approach
is to use a BoundObjectFrame control on your form, bound to the OLE
field. Then have the commandbutton do something like this (bofSlideShow
is the name of the object frame):

bofSlideShow.Verb = acOLEVerbOpen
bofSlideShow.Action = acOLEActivate
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top