Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / January 2005

Tip: Looking for answers? Try searching our database.

Display PowerPoint Presentation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chuck - 20 Jan 2005 15:15 GMT
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!
John Nurick - 21 Jan 2005 19:47 GMT
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

>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!

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.