当前位置: 首页 > 图文教程 > 网络编程 > ASP.NET > vc.net中配置OpenOffice的SDK应用开发

ASP.NET
如何在ASP.NET中使用SmtpMail发送邮件
在VB.NET中利用Split和Replace函数计算字数
Attribute应用:简化ANF自定义控件初始化过程
ASP.NET 2.0移动开发入门之使用样式
ASP.NET 2.0中使用OWC生成图表
ASP.NET 2.0中控件的简单异步回调
一个无法捕获ADO.NET Dataset的内存错误
深入解读ADO.NET2.0的十大最新特性
.Net平台下的分布式缓存设计
ASP.NET全局异常处理浅析
ASP.NET 2.0中文验证码的实现
浅析.NET平台编程语言的未来走向
.net 框架程序设计收藏
使用ASP.NET MVC Futures 中的异步Action
详解.NET中的XmlReader与XmlWriter
关于.NET中的Server push技术
asp.net页面执行机制
对比JSP和ASP.NET的存储过程
.NET 4.0不会包含System.Shell.CommandLine
ASP.NET十个有效性能优化的方法

ASP.NET 中的 vc.net中配置OpenOffice的SDK应用开发


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-08-14   浏览: 114 ::
收藏到网摘: n/a

在vc.net 2003下利用OpenOffice的SDK开发应用程序,其实很简单,看下面的配置方法。

需求软件:

MS Visual C++ Net 2003
OpenOffice SDK

OpenOffice.org 2.1.x 或者更高版本
软件下载地址:

OpenOffice SDK 下载地址:http://download.openoffice.org/index.html

OpenOffice.org 2.1.x下载地址: http://download.openoffice.org/index.html

配置操作:

1.安装 OpenOffice.

2.安装l OpenOffice SDK

3.在OpenOffice SDK的安装目录下(<oo_sdk_path>)创建一个名称为inludecpp目录

4.打开命令行程序(CMD)进入 <oo_sdk_path>\\windows\\bin目录,然后执行如下命令:

cppumaker -BUCR -O <oo_sdk_path>\\includecpp <office_programm_dir>\\types.rdb 5 配置VC++.net: 5.1. Tools ->Options->Projects->VC++ Directories -> Include Files  Add \\include directory and <oo_sdk_path>\\includecpp
5.2. Tools ->Options->Projects->VC++ Directories -> Library files Add <oo_sdk_path>\\windows\\lib directory

5.3. Tools ->Options->Projects->VC++ Directories -> Executable files Add <office_programm_dir>\\program directory (location where you installed the version of the OpenOffice)

5.4 Open the Project Settings

5.4.1 Change Configuration to all All Configurations (the combobox in the left corner of the window)

5.4.2 Add the additional libraries

Properties->Linker->ComandLine in the Additional Options tab the library files isal.lib icppu.lib icppuhelper.lib isal.lib isalhelper.lib ireg.lib irmcxt.lib stlport_vc71.li