Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Use axFrameControl to open the ppt encountered the error

Use axFrameControl to open the ppt encountered the error

Scheduled Pinned Locked Moved C#
performancehelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jason Fang_
    wrote on last edited by
    #1

    Code:

    this.axFraCtrlShowPPT.Open("e:\\1.ppt",true,"PowerPoint.Show",null,null);//open file
    this.axFraCtrlShowPPT.PPTPlay();//Try to read or write protected memory this usually indicating other memory has been damaged

    I want to open a ppt in the axFrameControl,and play the ppt after opening it,but it encoutered an error when it was playing ppt. Can you give me the correct answer?

    M 1 Reply Last reply
    0
    • J Jason Fang_

      Code:

      this.axFraCtrlShowPPT.Open("e:\\1.ppt",true,"PowerPoint.Show",null,null);//open file
      this.axFraCtrlShowPPT.PPTPlay();//Try to read or write protected memory this usually indicating other memory has been damaged

      I want to open a ppt in the axFrameControl,and play the ppt after opening it,but it encoutered an error when it was playing ppt. Can you give me the correct answer?

      M Offline
      M Offline
      micke andersson
      wrote on last edited by
      #2

      If you would bother to use Google for 30 seconds you could have found this:

      The DSOFramer control is for demo purpose, we did not provide support for it.
      NOTE: This sample is provided "AS IS" with no warranty or support from Microsoft. It is a demonstration, provided for informational purposes only, and has not been rigorously tested with all environments and ActiveX document servers. It is up to you to make it "production ready" if you use it in any development solution.
      Visual C++ ActiveX Control for hosting Office documents in Visual Basic or HTML
      http://support.microsoft.com/Default.aspx?id=311765
      If you still have any concern, please feel free to post here.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups