2005年5月4日

摘要: 我们将研究如何创建一个作为Windows服务的应用程序。内容包含什么是Windows服务,如何创建、安装和调试它们。会用到System.ServiceProcess.ServiceBase命名空间的类。 什么是Windows服务? Windows服务应用程序是一种需要长期运行的应用程序,它对于服务器环境特别适合。它没有用户界面,并且也不会产生任何可视输出。任何用户消息都会被写进Windows事... 阅读全文

posted @ 2005-05-04 21:32 RichardChoi 阅读(100) 评论(0) 推荐(0)

摘要: Excel.ApplicationClass excel=new Microsoft.Office.Interop.Excel.ApplicationClass();   Type excelType=excel.GetType();   Excel.Workbooks workbooks=excel.Workbooks; &#... 阅读全文

posted @ 2005-05-04 21:09 RichardChoi 阅读(1240) 评论(0) 推荐(0)

摘要: Word.ApplicationClass word=new Microsoft.Office.Interop.Word.ApplicationClass();   Type wordType=word.GetType();   Word.Documents docs=word.Documents;   wo... 阅读全文

posted @ 2005-05-04 21:08 RichardChoi 阅读(957) 评论(2) 推荐(0)