winform 如何打开一个word流 远程有个方法,返回Word流:Stream GetWordData(...)本地调用该方法,请问如何用word的com组件打开这个流呀?注:不能在本地生成Word文档 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 就是如何通过流打开word,而不是通过文件名的方式!!!wordApp.Documents.Open ( ref filename ..急急急 protected void ConvertWord(byte[] data) { string filepath = "d:/a.doc"; FileStream fs = new FileStream(filepath, FileMode.CreateNew); BinaryWriter bw = new BinaryWriter(fs); bw.Write(data, 0, data.Length); bw.Close(); fs.Close(); } 在C#如何连接SQLSEVER数据库 listViews离开项的事件要怎么写、 一个WinForm程序中有Word的部分,给客户安装的时候报错 C#串口编程 用C#做一个REST的WCF,用POST方法总是返回400错误 问一下PETSHOP中的DALFACTORY的实现方法. 一个菜菜的疑惑!!!! 如果要用Context.Server.MapPath(),需要using 什么 如何恢复因重装操作系统丢失的桌面数据 msdn能否单独不安装运行程序使用! 刚毕业,学的是.NET开发,大家帮帮忙!!!! 看看这代码如何优化最好。
wordApp.Documents.Open ( ref filename ..
急急急
{
string filepath = "d:/a.doc";
FileStream fs = new FileStream(filepath, FileMode.CreateNew);
BinaryWriter bw = new BinaryWriter(fs);
bw.Write(data, 0, data.Length);
bw.Close();
fs.Close();
}