如何使用Interop on c ++创建一个excel文件 [英] how can i create an excel file using Interop on c++

查看:210
本文介绍了如何使用Interop on c ++创建一个excel文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Ive搜索了很多信息,最简单的方法来创建和编辑excel文件,以节省我的程序的一些登录和密码。我看到很多的c#方法,我不明白了很多。

Ive searched a lot of info , bout the easyest way to create and edit excel files to save some login and passwords of my program. Ive seen lots of c# methods and i dont understand it a lot .

在Visual Studio 2010上添加我的参考的远程操作Microsoft.Office.Interop.Excel(im using oficce 2010)

The far thing ive done its to add my reference on Visual Studio 2010 Microsoft.Office.Interop.Excel (im using oficce 2010)

idk要做什么,要添加的标题或要做什么。我不能找到任何教程的C ++使用这个在他们的项目。我只想要简单的东西。

idk what to do, what headers to add, or what else to do. I cant find any tutorial of C++ using this on their projects. I just want something simple .

edit1:我将在安装了Office 2010的电脑上运行我的程序

edit1: i will run my program on a pc that has Office 2010 installed

PD:对不起我的英语,不是英语演讲者

PD:Sorry bout my english , im not an english speaker

推荐答案

阅读这些

http://support.microsoft.com/kb/ 216686 / en-us?fr = 1

http://www.codeguru.com/cpp/data/mfc_database/microsoftexcel/article.php/c11745/Microsoft-Excel -Automation-Class.htm

这篇关于如何使用Interop on c ++创建一个excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆