PIXNET Logo登入

腦容量太小

跳到主文

大腦放索引,內容就擺這

部落格全站分類:數位生活

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 7月 28 週四 201118:21
  • 從網頁呼叫使用者電腦應用程式

20110728_001.jpg
再一次,又是因為工作上的需要,希望能在網頁上啟動使用者端的應用程式
其實這也不是新聞啦!因為之前就寫過了,只是之前幾乎都是使用ActiveX
但現在使用ActiveX呢,要設一堆安全性,還可能要簽署(有需要可以參考使用經濟部工商憑證簽署ActiveX控制項),真是麻煩到爆
(繼續閱讀...)
文章標籤

慢飛 發表在 痞客邦 留言(4) 人氣(20,964)

  • 個人分類:.NET
▲top
  • 7月 02 週六 201123:44
  • Windows Service使用log4net的注意事項

參考Apache log4net FAQ
A windows service runs as a user account specified in the services control panel. This account may have restricted permissions, make sure that the account has permission to create and write to files in the directory chosen for logging.
A windows service is launched by windows. The current directory in a service is set to the windows system directory (e.g. C:\Windows\System32). If you are loading the configuration file from the current directory then be aware that this path will not be the location of your assemblies. The best way to get the path to your assemblies is to use AppDomain.BaseDirectory. Note that the log4net internals never use the current directory.
(繼續閱讀...)
文章標籤

慢飛 發表在 痞客邦 留言(0) 人氣(1,071)

  • 個人分類:.NET
▲top
  • 7月 02 週六 201120:16
  • 使用Visual Studio(C#)撰寫Windows Service

使用Visual Studio(C#)撰寫Windows Service

個人認為寫Windows Service與寫一般Windows應用程式最大的不同在偵錯技巧及系統服務的安裝與設定,如果能夠掌握以上的兩個關鍵,那麼寫起來就如魚得水優游自若囉!

首先讓我們新增一個專案,取名為SampleService

(繼續閱讀...)
文章標籤

慢飛 發表在 痞客邦 留言(5) 人氣(19,022)

  • 個人分類:.NET
▲top
1

Google+

個人資訊

慢飛
暱稱:
慢飛
分類:
數位生活
好友:
累積中
地區:

熱門文章

  • (1,101)Inch(in),Point(pt),Centimeter(cm),Millimeters(mm),Pica(pc),Pixel(px),Dots Per Inch(dpi)
  • (19,022)使用Visual Studio(C#)撰寫Windows Service
  • (2,423)使用經濟部工商憑證簽署ActiveX控制項
  • (7,093)Background Intelligent Transfer Service (BITS)-幕後智慧型傳送服務
  • (20,964)從網頁呼叫使用者電腦應用程式
  • (109,191)Wake On Lan已經不是甚麼新鮮事,要能Wake On Wan才帶勁

文章分類

toggle 作業系統 (1)
  • 指令或工具程式 (3)
toggle 程式語言 (2)
  • .NET (3)
  • 其他 (2)
toggle 生活 (1)
  • 碎碎唸 (3)
  • 未分類文章 (1)

最新文章

  • Wake On Lan已經不是甚麼新鮮事,要能Wake On Wan才帶勁
  • 從網頁呼叫使用者電腦應用程式
  • 大型重型機車路考
  • Background Intelligent Transfer Service (BITS)-幕後智慧型傳送服務
  • 絕對
  • 使用TELNET測試HTTP伺服器
  • 使用經濟部工商憑證簽署ActiveX控制項
  • Windows Service使用log4net的注意事項
  • 使用Visual Studio(C#)撰寫Windows Service
  • 累積

文章精選

文章搜尋

誰來我家