在.net程序中调用office

用delphi等都可以方便地启动excel或word,然后用程序控制写些文字,但用.net好像很难,是什么原因,有解决方法吗?
---------------------------------------------------------------

以下有一篇在C#中调用Excel的文章和示例代码,您可以参考:
HOWTO: Automate Microsoft Excel from Visual C# .NET
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q302084

以下有一篇在C#中调用Word的文章和示例代码,您可以参考:
HOW TO: Automate Word from C# .NET to Create a New Document
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q316384

完全可以!

Published At
Categories with Web编程
Tagged with
comments powered by Disqus