如何调用word里的打印程序? 听说有一套office developer,是用这个么?哪里有下的? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 你直接调用word然后不要将其显示,直接打印就可以,你可以参照一下用word打印成绩表的例子,桂州一个学校的写的开源代码。 导入office的com:Excel.Workbook myBook; Excel.Application myExcel=new Excel.ApplicationClass(); Excel.Worksheet mySheet=new Excel.WorksheetClass();mySheet.PrintOut(Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing); 推荐一个文章:看看打印部分的print preview ,printout《Understanding the Word Object Model from a .NET Developer's Perspective》http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2003_ta/html/wordobject.asp C# 软件登陆时,用户怎么才能只登陆一次? 求帮忙··screen-compatible bitmap cannot be created.问题 [求助]C#怎么写数据库连接能实用所有数据库 网站发布前后时期格式不一样了 SortedList如何应用 C#简单设置启动项 取SQL文中的参数实际值 请教一下SQLDATAREADER的问题 C# winform窗体的大小在不同的分辨率下怎么设置啊? 求救!!!立即揭帖!!! md5的C#应用问题 ■■■急,急,急呀,急,哎!(高手情进)
Excel.Workbook myBook;
Excel.Application myExcel=new Excel.ApplicationClass();
Excel.Worksheet mySheet=new Excel.WorksheetClass();
mySheet.PrintOut(Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing);
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2003_ta/html/wordobject.asp