摘要: 前提:导入COM库:Microsoft word 11.0 Object Library.引用里面就增加了:创建新WordobjectoMissing=System.Reflection.Missing.Value;Word._ApplicationoWord;Word._DocumentoDoc;oWord=newWord.Application();oWord.Visible=true;oDoc=oWord.Documents.Add(refoMissing,refoMissing,refoMissing,refoMissing);打开文档:objectoMissing=System.Re 阅读全文
posted @ 2011-06-07 16:40 风飘零 阅读(563) 评论(0) 推荐(1) 编辑