doc 你以为是txt啊
他有自己的文件格式
他有自己的文件格式
解决方案 »
- 导入汉字的问题
- C#中三层架构反射问题
- 请问大家做网站都用什么后台编辑器?可以支持图片,声音,flash 的?最好有简单的例子。谢谢!
- 新手提问:运行时显示信息“索引(从零开始)必须大于或等于零,且小于参数列表的大小。”是什么回事?????
- XP系统IE新窗口打开图片问题
- 谁能给我发下net2.0下的oa工作流。谢谢
- [求助][急] 05的dataGridView中没有CurrentRowIndex要用什么代替
- tabControl控件怎么实现,用Tab键转换tabPage
- 请问那位有称对Exchange的二次开发中文文档,或是一些好的经验!谢谢。。。。
- 关于一个程序的问题
- 紧急问题:.net中提示无法设置列“user_pwd”。此值违反了此列的 MaxLength 限制。
- 请问怎么在ASP.NET2.0里打印网页指定的内容
Word.Document thisDocument = new Word.Document();
object missingValue = Type.Missing;
object myTrue = true;
object fileName = "\\TestFile1.rtf";
wordApplication.Visible = true;
thisDocument = wordApplication.Documents.Open(ref fileName, ref missingValue,
ref myTrue, ref missingValue, ref missingValue, ref missingValue,
ref missingValue, ref missingValue, ref missingValue,
ref missingValue, ref missingValue, ref missingValue,
ref missingValue, ref missingValue, ref missingValue);
Object background = Type.Missing;
Object append = Type.Missing;
Object range = Type.Missing;
Object outputFileName = Type.Missing;
Object from = Type.Missing;
Object to = Type.Missing;
Object item = Type.Missing;
Object copies = Type.Missing;
Object pages = Type.Missing;
Object pageType = Type.Missing;
Object printToFile = Type.Missing;
Object collate = Type.Missing;
Object fileName = Type.Missing;
Object activePrinterMacGX = Type.Missing;
Object manualDuplexPrint = Type.Missing;
Object printZoomColumn = Type.Missing;
Object printZoomRow = Type.Missing;
Object printZoomPaperWidth = Type.Missing;
Object printZoomPaperHeight = Type.Missing;
ThisDocument.PrintOut(ref background, ref append,
ref range, ref outputFileName, ref from, ref to,
ref item, ref copies, ref pages, ref pageType,
ref printToFile, ref collate, ref fileName, ref activePrinterMacGX,
ref manualDuplexPrint, ref printZoomColumn, ref printZoomRow,
ref printZoomPaperWidth, ref printZoomPaperHeight);
CathySun118(斯年) 给的代码,但是没有一点说明注释相信很少有人会看的懂这么长的吧,麻烦能多点提示信息,主要的几步都在做什么呢,还有要导入什么名字空间啊