在电子白板软件中,需要将最终的软件执行结果保存下来以便以后的分析和使用。目前的保存方法多是以图片或者简单的文本形式,不便于进一步修改和总结。采用Word文档形式可以利用其强大的编辑处理功能,支持对象的链接与嵌入等优点来实现程序运行结果的实时保存。首先介绍在VC++6.0编程环境下电子白板软件基本功能的实现,然后基于OLE技术阐述对Word文档的具体操作方法,最终实现将软件执行结果保存到Word文档中。
In whiteboard software,there is the need to save the final implementation results for later analysis and use.But at present,the main saving formats are the images or texts,and they are not convenient for customers to further modify and summarise.By using the form of Word document,it is able to make use of its powerful editing and processing functions and its advantages of supporting the object links and embedding to realise the real-time saving of program running results.Firstly,we introduce the implementation of basic functions of the whiteboard software in VC+ +6.0 programming environment;then we expatiate on the specific operation methods of the Word document based on OLE technology.As the result,the software execution results are finally saved to a Word document.