首页 新闻 论坛 群组 Blog 文档 下载 读书 Tag 网摘 搜索 .NET Java 游戏 视频 人才 外包 培训 数据库 书店 程序员
中国软件网
欢迎您:游客 | 登录 注册 帮助
  • 哪位有将CtrlList中的数据保存到Excel的例子啊?
    进入用户个人空间
    加为好友
    发送私信
    在线聊天
    • xiaodunhui
    • 等级:
    • 可用分等级:
    • 总技术分:
    • 总技术分排名:
    • 结帖率:
    发表于:2008-08-08 17:16:28 楼主
    哪位有将CtrlList中的数据保存到Excel的例子啊?最好是完整的. 我的那个提示错误多, 不想弄了..谢谢

    :\20080422lunwen\grav3dinv\VertexEditDlg.cpp(358) : error C2039: 'PathFileExists' : is not a member of '`global namespace''
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(358) : error C2065: 'PathFileExists' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(366) : error C2065: '_Application' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(366) : error C2146: syntax error : missing ';' before identifier 'app'
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(366) : error C2065: 'app' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(367) : error C2065: 'Workbooks' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(367) : error C2146: syntax error : missing ';' before identifier 'books'
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(367) : error C2065: 'books' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(368) : error C2065: '_Workbook' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(368) : error C2146: syntax error : missing ';' before identifier 'book'
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(368) : error C2065: 'book' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(369) : error C2065: 'Worksheets' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(369) : error C2146: syntax error : missing ';' before identifier 'sheets'
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(369) : error C2065: 'sheets' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(370) : error C2065: '_Worksheet' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(370) : error C2146: syntax error : missing ';' before identifier 'sheet'
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(370) : error C2065: 'sheet' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(371) : error C2065: 'Range' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(371) : error C2146: syntax error : missing ';' before identifier 'range'
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(371) : error C2065: 'range' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(372) : error C2065: 'Font' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(372) : error C2146: syntax error : missing ';' before identifier 'font'
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(372) : error C2065: 'font' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(375) : error C2228: left of '.CreateDispatch' must have class/struct/union type

    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(429) : error C2228: left of '.GetRange' must have class/struct/union type
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(430) : error C2228: left of '.GetResize' must have class/struct/union type
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(438) : error C2065: 'GetItemText' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(444) : error C2228: left of '.SetValue' must have class/struct/union type
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(445) : error C2065: 'Interior' : undeclared identifier
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(445) : error C2146: syntax error : missing ';' before identifier 'cellinterior'

    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(450) : error C2228: left of '.SetColorIndex' must have class/struct/union type
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(456) : error C2228: left of '.GetRange' must have class/struct/union type

    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(471) : error C2228: left of '.Quit' must have class/struct/union type
    E:\20080422lunwen\grav3dinv\VertexEditDlg.cpp(472) : error C2228: left of '.ReleaseDispatch' must have class/struct/union type
    Error executing cl.exe.
    Creating browse info file...
    20  修改 删除 举报 引用 回复
    进入用户个人空间
    加为好友
    发送私信
    在线聊天
    • gaohl
    • 等级:
    • 可用分等级:
    • 总技术分:
    • 总技术分排名:
    发表于:2008-08-08 18:00:191楼 得分:0
    www.vckbase.com
    里面代码仓库,搜索excel
    可以找到导出CListCtrl控件到Excel文件
    修改 删除 举报 引用 回复
    进入用户个人空间
    加为好友
    发送私信
    在线聊天
    • sjdev
    • 等级:
    • 可用分等级:
    • 总技术分:
    • 总技术分排名:
    发表于:2008-08-09 09:30:302楼 得分:0
    http://www.vckbase.com/document/viewdoc/?id=1681
    修改 删除 举报 引用 回复

    网站简介广告服务网站地图帮助联系方式诚聘英才English 问题报告
    北京创新乐知广告有限公司 版权所有 京 ICP 证 070598 号
    世纪乐知(北京)网络技术有限公司 提供技术支持
    Copyright © 2000-2008, CSDN.NET, All Rights Reserved