请高手帮助 去这儿看一看,有帮助:http://www.codeproject.com/info/search.asp 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 private Word.ApplicationClass WordApp = new Word.ApplicationClass();object missing = System.Reflection.Missing.Value; object fileName = "normal.dot"; object newTemplate = false; object docType = 0; object isVisible = true; Word.Document aDoc = WordApp.Documents.Add(ref fileName, ref newTemplate, ref docType, ref isVisible); WordApp.Visible = true; aDoc.Activate(); WordApp.Selection.ParagraphFormat.Alignment = Word.WdParagraphAlignment.wdAlignParagraphCenter; WordApp.Selection.Font.Bold = (int)Word.WdConstants.wdToggle; WordApp.Selection.TypeText(theQueryDialog.Title); 当前上下文中不存在名称"tab" C#如何判断磁盘正在被写入? c# 点击webBrowser里面网页按钮的实现 如何把List<T>转换为DataGridView的一列 如何获得access不重复的年份 c# Load窗口问题 怎么用contextMenu?怎么才能显示右键菜单?怎么才能关联别的方法? C#平台调用,C++函数是不是不能直接返回结构啊? c#给com传入istream,居然取不出来 DllImport类型转换问题 登录问题出错,请高手指点 关于线程和队列的问题?
private Word.ApplicationClass WordApp = new Word.ApplicationClass();
object missing = System.Reflection.Missing.Value;
object fileName = "normal.dot";
object newTemplate = false;
object docType = 0;
object isVisible = true; Word.Document aDoc = WordApp.Documents.Add(ref fileName, ref newTemplate, ref docType, ref isVisible); WordApp.Visible = true; aDoc.Activate(); WordApp.Selection.ParagraphFormat.Alignment = Word.WdParagraphAlignment.wdAlignParagraphCenter;
WordApp.Selection.Font.Bold = (int)Word.WdConstants.wdToggle;
WordApp.Selection.TypeText(theQueryDialog.Title);