Use axFrameControl to open the ppt encountered the error
-
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 damagedI 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?
-
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 damagedI 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?
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.