MFC对ppt进行操作
求助:MFC对ppt进行操作
求助各位大虾:
小弟刚入门MFC编程,要实现office中PPT的自动评分,目前到第4步卡住了:
1.添加ppt类型库文件,"msppt.olb"(office 2003中)。
2.头文件 #include “msppt.h”。
3.在应用程序中,InitInstance函数中,添加.....
4.In header file中,
_Application app; //app is the PowerPoint _Application object
Presentations Presentations; //PPT环境
_Presentation Presentation; //打开的PPT文件
SlideShowView View;
SlideShowWindow SlideShowWindow;
SlideShowSettings slideshow;
Slides slides;
_Slide slide;
就是在第4步卡住了,我不知道在哪个头文件声明第4步,“msppt.h”和对话框头文件我都试过了,
希望大虾能帮我一下,最好能截图给我,发给我邮箱39226542@qq.com里面,交流一下,再次感谢!
------解决方案--------------------
第四步就是具体程序了
比如你想通过一个按钮实现这个功能那就把这些代码写到按钮消息里
------解决方案--------------------
VC操作PowerPoint
求助各位大虾:
小弟刚入门MFC编程,要实现office中PPT的自动评分,目前到第4步卡住了:
1.添加ppt类型库文件,"msppt.olb"(office 2003中)。
2.头文件 #include “msppt.h”。
3.在应用程序中,InitInstance函数中,添加.....
4.In header file中,
_Application app; //app is the PowerPoint _Application object
Presentations Presentations; //PPT环境
_Presentation Presentation; //打开的PPT文件
SlideShowView View;
SlideShowWindow SlideShowWindow;
SlideShowSettings slideshow;
Slides slides;
_Slide slide;
就是在第4步卡住了,我不知道在哪个头文件声明第4步,“msppt.h”和对话框头文件我都试过了,
希望大虾能帮我一下,最好能截图给我,发给我邮箱39226542@qq.com里面,交流一下,再次感谢!
------解决方案--------------------
第四步就是具体程序了
比如你想通过一个按钮实现这个功能那就把这些代码写到按钮消息里
------解决方案--------------------
VC操作PowerPoint