PowerPoint Presentations 
Author Message
 PowerPoint Presentations

I am working a little project in which I have designed a Command Button to
view PowerPoint presentations. The problem I have is that, each record has
its own specific PowerPoint presentation. Having a devil of a time coding
this. Can anyone help?

Here is a sniplet of code;

dim ppt As Object
    Set ppt = GetObject("PowerPoint.Application")
    ppt.Visible = True
    ppt.Presentations.Open FileName:=!Me![Work Area]
    ppt.SlideShowSettings.Run
    ppt.Quit

Whereas the field [Work Area] is where the LINKED Presentations are stored
within the table. Can anyone help or point out the errors of my ways!

Gary A.MacDonald



Mon, 13 Oct 2003 04:51:20 GMT  
 PowerPoint Presentations
There is a PPT wizard described at www.unsoftwareag.com



Quote:
> I am working a little project in which I have designed a Command Button to
> view PowerPoint presentations. The problem I have is that, each record has
> its own specific PowerPoint presentation. Having a devil of a time coding
> this. Can anyone help?

> Here is a sniplet of code;

> dim ppt As Object
>     Set ppt = GetObject("PowerPoint.Application")
>     ppt.Visible = True
>     ppt.Presentations.Open FileName:=!Me![Work Area]
>     ppt.SlideShowSettings.Run
>     ppt.Quit

> Whereas the field [Work Area] is where the LINKED Presentations are stored
> within the table. Can anyone help or point out the errors of my ways!

> Gary A.MacDonald



Sun, 12 Oct 2003 07:26:48 GMT  
 PowerPoint Presentations
Use:

 dim ppt As Object
     Set ppt = GetObject("","PowerPoint.Application")   ' <------ look this!
     ppt.Visible = True
     ppt.Presentations.Open FileName:=!Me![Work Area]
     ppt.SlideShowSettings.Run
     ppt.Quit
hope this helpfull.

-Horroroso-
-----------------------


Quote:
> I am working a little project in which I have designed a Command Button to
> view PowerPoint presentations. The problem I have is that, each record has
> its own specific PowerPoint presentation. Having a devil of a time coding
> this. Can anyone help?

> Here is a sniplet of code;

> dim ppt As Object
>     Set ppt = GetObject("PowerPoint.Application")
>     ppt.Visible = True
>     ppt.Presentations.Open FileName:=!Me![Work Area]
>     ppt.SlideShowSettings.Run
>     ppt.Quit

> Whereas the field [Work Area] is where the LINKED Presentations are stored
> within the table. Can anyone help or point out the errors of my ways!

> Gary A.MacDonald



Mon, 13 Oct 2003 07:03:03 GMT  
 PowerPoint Presentations
Other Way:
dim ppt as Object
    Set ppt = GetObject([Work Area])
    ppt.SlideShowSettings.Run

and that's all.
hope this helpfull too.

-Horroroso-



Quote:
> I am working a little project in which I have designed a Command Button to
> view PowerPoint presentations. The problem I have is that, each record has
> its own specific PowerPoint presentation. Having a devil of a time coding
> this. Can anyone help?

> Here is a sniplet of code;

> dim ppt As Object
>     Set ppt = GetObject("PowerPoint.Application")
>     ppt.Visible = True
>     ppt.Presentations.Open FileName:=!Me![Work Area]
>     ppt.SlideShowSettings.Run
>     ppt.Quit

> Whereas the field [Work Area] is where the LINKED Presentations are stored
> within the table. Can anyone help or point out the errors of my ways!

> Gary A.MacDonald



Mon, 13 Oct 2003 07:24:45 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Updating PowerPoint Presentation graphs using data from Access

2. Export reports to powerpoint presentation

3. PowerPoint Presentations based on Access Databases.

4. Keypress detection during a powerpoint presentation

5. Extract text and images from powerpoint presentation

6. powerpoint presentation

7. Object reference to Powerpoint presentation

8. Error trying to set relative path on linked powerpoint presentation

9. PowerPoint presentation as object

10. Opening a Powerpoint Presentation from VB

11. auto powerpoint presentations and word letters from a database

12. Using Proj2k plans in powerpoint presentations

 

 
Powered by phpBB® Forum Software