淺析vc.net中配置OpenOffice的SDK應用開發(fā)_.Net教程
推薦:.net編程之如何綁定到ADO.NET數(shù)據(jù)源本示例演示如何將 Windows Presentation Foundation (WPF) ListBox 控件綁定到 ADO.NET DataSet。 示例 在本示例中,OleDbConnection 對象用于連接到數(shù)據(jù)源,該數(shù)據(jù)源是在連接字符串中
在vc.net 2003下利用OpenOffice的SDK開發(fā)應用程序,其實很簡單,看下面的配置方法。
需求軟件:
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>)創(chuàng)建一個名稱為inludecpp目錄
4.打開命令行程序(CMD)進入 <oo_sdk_path>\\windows\\bin目錄,然后執(zhí)行如下命令:
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
分享:解析.net開發(fā)綁定到LINQ查詢的結果實例本示例演示如何運行 LINQ 查詢然后綁定到查詢結果。 示例 下面的示例創(chuàng)建兩個列表框。第一個列表框包含三個列表項。 在第一個列表框中選擇一項會激發(fā)下面的事件處理程序。
- asp.net如何得到GRIDVIEW中某行某列值的方法
- .net SMTP發(fā)送Email實例(可帶附件)
- js實現(xiàn)廣告漂浮效果的小例子
- asp.net Repeater 數(shù)據(jù)綁定的具體實現(xiàn)
- Asp.Net 無刷新文件上傳并顯示進度條的實現(xiàn)方法及思路
- Asp.net獲取客戶端IP常見代碼存在的偽造IP問題探討
- VS2010 水晶報表的使用方法
- ASP.NET中操作SQL數(shù)據(jù)庫(連接字符串的配置及獲取)
- asp.net頁面?zhèn)髦禍y試實例代碼
- DataGridView - DataGridViewCheckBoxCell的使用介紹
- asp.net中javascript的引用(直接引入和間接引入)
- 三層+存儲過程實現(xiàn)分頁示例代碼
- 相關鏈接:
- 教程說明:
.Net教程-淺析vc.net中配置OpenOffice的SDK應用開發(fā)
。