powerpoint execution

  • Thread starter Thread starter barry
  • Start date Start date
B

barry

This is the code I am trying to execute in the page load

Dim oapp As PowerPoint.Application
oapp = New PowerPoint.Application

oapp.Presentations.Open("C:\Inetpub\wwwroot\StoryBooks\AccessorMutator.ppt")

The following error was given when executed

System.Runtime.InteropServices.COMException: Presentations (unknown member)
: Invalid request. The PowerPoint Frame window does not exist

thanks
 
You open a PowerPoint presentation server side where there is nothing to
show it...

What do you want to do ? To show this client side you could
response.redirect to the file or stream the file using Response.WriteFile so
that the PowerPoint file is opened client side....

Patrice
 

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