我如何使用Interop在c ++上创建一个excel文件 [英] how can i create an excel file using Interop on c++
问题描述
我搜索了很多信息,关于创建和编辑excel文件的最简单的方法来保存我的程序的一些登录名和密码。我已经看到很多C#方法,我不太了解它。
I've searched a lot of info, about the easiest way to create and edit excel files to save some login and passwords of my program. I've seen lots of C# methods and I don't understand it a lot.
我添加了对Visual Studio 2010的引用 Microsoft .Office.Interop.Excel
(我正在使用Office 2010)。
I've added a reference to Visual Studio 2010 Microsoft.Office.Interop.Excel
(I'm using Office 2010).
然而,我不知道如何进一步我应该添加什么标题,还应该怎么做?我没有找到任何C ++教程在他们的项目中使用这个。我只想要一些简单的东西。
I don't know how to take this further, however; what headers should I add, what else should I do? I can't find any tutorial of C++ using this on their projects. I just want something simple.
编辑:
在安装了Office 2010的电脑上。
I will run my program on a pc that has Office 2010 installed.
推荐答案
阅读这些
http://support.microsoft.com/kb/216686/en-我们?fr = 1
这篇关于我如何使用Interop在c ++上创建一个excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!