In a simple Windows Forms application (such as the one created by the Visual Studio.NET application wizard), all forms and controls execute on the same thread – the primordial thread used to launch the application by calling Main() – so those forms
經常使用虛機,每次重啟都要登入一下,感覺很麻煩。還是做一個自動登入比較方便。 將下面的內容存成.reg檔案,在需要自動登入的機器上匯入就可以了。 Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
大家可能都遇到過windows某個服務無法操作的情況,無法停止或者無法啟動的現象。原來對Windows服務的本質不太瞭解,今天我想我可能切中要害了。先看下文,再聽我給您講。希望大家指出不對之處。Multithreaded ServicesThe service control manager (SCM) controls a service by sending service control events to the service's control handler routine.
今天下載並安裝了VirtualBox,在上面建了個2003的新VM,然後安裝,運行,感覺就是一個字:快!幾乎趕上Host的速度了(我Host有512M記憶體,分配給Guest了256M,估計記憶體更高的同志們就可以直接在上面跑Sql Server + Visual Studio了).唯一的不爽之處就是網路連接.以前試用VMWare,
1. 實現linux mono Develop中調用windows 中的webService l linux 與 windows 在一個區域網路的網段中l windows 的IIs中發布webService 2. windows 中的設定l webService 的代碼using System;using System.Collections.Generic;using System.Linq;using System.Web;using
前幾天看周愛民先生的《大道至簡--軟體工程實踐者的思想》(http://www.doany.net/)時看到書中談到Windows的事件激發順序,以及對其他過程的影響的問題,今天就不期然遇到一個大概類似的問題。這些天寫的一個系統,晚上發現偶爾會有不期然的事情發生:在執行一個資料庫查詢後返回的結果不一致,很是奇怪。初始代碼是VB6,流程很簡單,一個表單有一個查詢的方法,大概如下的代碼:Public Sub RefreshDb(strSQL As String) '記錄結果的集合