没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
主要代码 string ls_filename, ls_path integer li_value oleobject ole_word long ll_cnt ole_word = create oleobject li_value = ole_word.connecttonewobject("word.application") if li_value <> 0 then messagebox("info", "连接word失败,请检查") return -1 end if if GetFileOpenName("选择文件", ls_filename, ls_path, "Word Files (*.doc), *.doc, All Files(*.*), *.*") <> 1 then ole_word.quit() ole_word.disconnectobject() destroy ole_word return 1 end if if len(trim(ls_filename)) <= 0 then return -1 else ole_word.Documents.open(ls_filename) ll_cnt = ole_word.ActiveDocument.Content.End messagebox('Word total:', ll_cnt) ole_word.quit() ole_word.disconnectobject() destroy ole_word end if
资源推荐
资源详情
资源评论
收起资源包目录
20151021.rar (2个子文件)
ptest.pbl 52KB
ptest.pbt 101B
共 2 条
- 1
资源评论
WorldMobile
- 粉丝: 1630
- 资源: 48
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功