![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
.NET
ld_hust
除了思考,很懒
展开
-
c# word的组件时失败解决方法
{000209FF-0000-0000-C000-000000000046} 的组件时失败,原因是出现以下错误: 80070005。3.单击"安全"选项卡,分别在"启动和激活权限"和"访问权限"组中选中"自定义",然后 自定义->编辑->添加ASP.NET账户和IUSER_计算机名。解决方法二:如果上述方法不能解决问题,就应该是权限问题,请尝试用下面 的方法:在web.config中使用身份模拟,在2010-03-28 16:32:18 · 69 阅读 · 0 评论 -
C#操作Office2007
ject strFileName;Object Nothing;Microsoft.Office.Interop.Word.ApplicationClass myWordApp;Document myWordDoc;string strContent = "";protected void Page_Load(object sender, EventArgs e){createWord();}private void createWord(){strFileName = Request.2010-03-28 16:34:41 · 189 阅读 · 0 评论 -
DCOM服务找不到 WORD应用程序服务
的到 安装后的WORD组件DLL的第11版本 。 具体环境如下: 服务器:Windows Server 2003 Enterprise Server 64-bit Edition 英文版.Net FreamWork 2.0IIS 6.0SQL2005 英文版OFFICE 2003中文版 (貌似是个破解版本) 1 star -- run : dcomcnfg 2 Console Root + Computer Services+ My Computer+ DCOM Config+ Microso2010-03-28 16:36:01 · 314 阅读 · 0 评论 -
.net读取word文件文本
2010-04-02 16:07:48 · 369 阅读 · 0 评论 -
.net读取excel文本
/绝对路径 string connStr = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + fileName + ";" + "Extended Properties=Excel 8.0;"; string sql_F = "Select * FROM [{0}]"; OleDbConnection2010-04-02 16:08:27 · 48 阅读 · 0 评论 -
.net读取ppt文本
string filename) { string fullname = DocPath+filename; //绝对路径 PowerPoint.Application papp = new PowerPoint.Application(); PowerPoint.Presentation ppr = papp.Presentations.Open(fullname, Microsoft.Office.Core.MsoTriState.msoCTrue2010-04-02 16:09:07 · 147 阅读 · 0 评论 -
.net读取pdf文本(一)
索性去找PDFBox,而且要命的是传说这个不支持中文!这个是一个开源的java项目,编码出来当然是java的啦,怎么用.NET调用呢?正在郁闷毛躁的时候,我看到了一个外国博客上的文章studentclub.ro/lucians_weblog/archive/2007/03/22/read-from-a-pdf-file-using-c.aspx文章如下:know, this may seem like a simple task, and you will probably find ref2010-04-02 16:10:21 · 123 阅读 · 0 评论 -
C#处理压缩文件
;using System.Collections.Generic;using System.Text;using System.IO;using ICSharpCode.SharpZipLib.Checksums;using ICSharpCode.SharpZipLib.Zip;using ICSharpCode.SharpZipLib.GZip;class Test{ //This is the method of zip: //SrcFile 源文件路径,DstFile 压缩后目标文2010-04-02 16:11:54 · 89 阅读 · 0 评论 -
为服务创建安装程序
2010-04-02 16:12:39 · 87 阅读 · 0 评论