调用写字板程序了,很简单的
System.Debug.Dia.......process.start("/p""wrod","temp.rtf");
具体的格式忘记了,大概是这样子的
System.Debug.Dia.......process.start("/p""wrod","temp.rtf");
具体的格式忘记了,大概是这样子的
解决方案 »
- c#同一工具栏按钮,当打开不同TABPAGE页面中时,实现不能的功能
- 求一函数字节数组转换成字符串
- sql2005 连接问题
- 私钥加密公钥解密,有谁知道怎么做?
- CollectionBase.List属性的问题
- 请教如何访问调用doPostBack()函数
- vs .net 2002的水晶报表的密钥,马上给分!
- WebRequest 获取后面页面源代码问题
- 求助:怎样让没隔一段时间读取一遍数据,如果没有则过1秒钟之后再读取,知道有新的数据,跳出
- 我的两个难题,难得住C#高手吗!!!!
- 怎么回事:未处理的“System.FormatException”类型的异常出现在 mscorlib.dll 中。
- 能在windows2000 server下同时安装vs.net2000和vs.net2003吗?
你说的那个我知道,先保存RICHTEXTBOX中的内容为RTF文档,再开一个进程打开文档,然后让用户打印.
EM_FORMATRANGE : format part of a rich edit control's contents for a specific device
EM_DISPLAYBAND : send the output to the deviceHere is a link to a MSDN article by Martin Muller that implements this interop solution.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/wnf_RichTextBox.asp