| System | VersionNT | WindowsBuild | ServicePackLevel |
|---|---|---|---|
| Windows 2000 | 500 | 2195 | Not applicable |
| Windows 2000 + Service Pack 1 | 500 | 2195 | 1 |
| Windows 2000 + Service Pack 2 | 500 | 2195 | 2 |
| Windows 2000 + Service Pack 3 | 500 | 2195 | 3 |
| Windows 2000 + Service Pack 4 | 500 | 2195 | 4 |
| Windows XP | 501 | 2600 | Not applicable |
| Windows XP with Service Pack 1 (SP1) | 501 | 2600 | 1 |
| Windows XP with Service Pack 2 (SP2) | 501 | 2600 | 2 |
| Windows XP with Service Pack 3 (SP3) | 501 | 2600 | 3 |
| Windows Server 2003 | 502 | 3790 | Not applicable |
| Windows Server 2003 with Service Pack 1 (SP1) | 502 | 3790 | 1 |
| Windows Server 2003 with Service Pack 2 (SP2) | 502 | 3790 | 2 |
| Windows Vista | 600 | 6000 | Not applicable |
| Windows Vista with Service Pack 1 (SP1) | 600 | 6001 | 1 |
| Windows Vista with Service Pack 2 (SP2) | 600 | 6002 | 2 |
| Windows Server 2008 | 600 | 6001 | Not applicable |
| Windows Server 2008 with Service Pack 2 (SP2) | 600 | 6002 | 2 |
| Windows Server 2008 R2 | 601 | greater than 7100 | Not applicable |
| Windows 7 | 601 | greater than 7100 | Not applicable |
| Windows 7 with Service Pack 1 (SP1) | 601 | greater than 7100 | 1 |
| Windows 8 | 602 | greater than or equal to 9200 | Not applicable |
| Windows Server 2012 | 602 | greater than or equal to 9200 | Not applicable |
2013年3月5日 星期二
Operating System Property Values
2013年3月4日 星期一
WiGig
Wireless Gigabit Alliance
The Wireless Gigabit Alliance[1] (WiGig) is an organization promoting the adoption of multi-gigabit speed wireless communications technology operating over the unlicensed 60 GHz frequency band.
The creation of WiGig (IEEE 802.11 ad) was announced on May 7, 2009.[2][3][4][5][6] The completed version 1.0 WiGig specification was announced in December 2009.[7][8][9][10][11] In May 2010, WiGig announced the publication of its specification, the opening of its Adopter Program, and the liaison agreement with the Wi-Fi Alliance to cooperate on the expansion of Wi-Fi technologies.[12][13] In June 2011, WiGig announced the release of its certification-ready version 1.1 specification.[12]
The WiGig specification will allow devices to communicate without wires at multi-gigabit speeds. It enables high performance wireless data, display and audio applications that supplement the capabilities of today’s wireless LAN devices. WiGig tri-band enabled devices, which operate in the 2.4, 5 and 60 GHz bands, will deliver data transfer rates up to 7 Gbit/s, about as fast as an 8 antenna 802.11ac transmission, and nearly 50 times faster than the highest 802.11n rate, while maintaining compatibility with existing Wi-Fi devices.
2013年3月1日 星期五
Tablet OS
1.Android 是一個以Linux為基礎的半開放原始碼作業系統,主要用於行動設備,由Google成立的Open Handset Alliance持續領導與開發中。
Android系統最初由安迪·魯賓(AndyRubin)開發製作,最初主要支援手機,於2005年8月被美國科技企業Google收購。2007年11月,Google與84家硬體製造商、軟體開發商及電信營運商成立開放手持設備聯盟來共同研發改良Android系統,隨後,Google以Apache免費開源許可證的授權方式,發布了Android的源代碼。讓生產商推出搭載Android的智慧型手機,Android作業系統後來更逐漸拓展到平板電腦及其他領域上。
Google透過官方網上商店平台Google Play,提供應用程式和遊戲供用戶下載,截止至2012年6月,Google Play商店擁有超過60萬個官方認證應用程式。同時用戶亦可以通過第三方網站來下載。
2010年末數據顯示,僅正式推出兩年的Android作業系統在市場佔有率上已經超越稱霸逾十年的諾基亞Symbian系統,成為全球第一大智慧型手機作業系統。
2.iOS是由蘋果公司為行動裝置所開發的操作系統,支援的裝置包括iPhone、iPod touch、iPad、Apple TV。與Android及Windows Phone不同,iOS不支援非蘋果硬體的裝置。系統操作(iOS 6)佔用約1GB左右的儲存空間。
3.Apache Cordova is a set of device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript. Combined with a UI framework such as jQuery Mobile or Dojo Mobile or Sencha Touch, this allows a smartphone app to be developed with just HTML, CSS, and JavaScript.
4.Tizen,又名泰澤,一個開放原始碼的行動作業系統開發專案,採用Linux核心。專案在2011年9月27日,由Linux基金會以及LiMo基金會合力推出,目的在於取代MeeGo與LiMo,參與開發的廠商有英特爾、三星等。 Tizen 的開發者希望能夠強化HTML5的應用。
5.Firefox OS,專案名稱為Boot to Gecko。是由Mozilla公司主導研發的開放原始碼行動作業系統,採用Linux核心,應用於智慧型手機。這個計劃於2011年7月25日對外公開,2012年7月2日宣布它的正式名稱為Firefox OS。
採用開放網路(open Web)技術,它是一種網路作業環境,以Gecko瀏覽器引擎為核心,採用HTML5來開發。所有應用都基於網路,希望使用者一開機就能夠連線上網際網路,但也可透過HTML5 cache Manifest或相關API在離線時使用。
6.BlackBerry Tablet OS 是基於QNX實時作業系統的新型作業系統,據報導可以運行為Google的Android系統開發的應用程序。第一款運行此系統的設備將是BlackBerry PlayBook平板電腦.
QNX有機會完全取代BlackBerry OS。但直至BlackBerry OS 7推出還未有消息。
2009年12月16日 星期三
推到 twitter, plurk, facebook
推到twitter
<div style='width:90px;><a href="javascript: void(window.open('http://twitter.com/home/?status='.concat(encodeURIComponent(document.title)) .concat(' ') .concat(encodeURIComponent(location.href))));">推到twitter</a></div>
推到PLURK
<div><a href="javascript: void(window.open('http://www.plurk.com/?qualifier=shares&status=' .concat(encodeURIComponent(location.href)) .concat(' ') .concat('(') .concat(encodeURIComponent(document.title)) .concat(')')));">推到PLURK</a></div>
推到FACEBOOK
<div><script>function fbs_click() {u=location.href;t=document.title;window.open(file://<wppreservesinglequote/ />http://www.facebook.com/sharer.php?u=\\<WPPreserveSingleQuote />+encodeURIComponent(u)+\\<WPPreserveSingleQuote />&t=\\<WPPreserveSingleQuote />+encodeURIComponent(t),\\<WPPreserveSingleQuote />sharer\\<WPPreserveSingleQuote />,\\<WPPreserveSingleQuote />toolbar=0,status=0,width=626,height=436\\<WPPreserveSingleQuote />);return false;}</script><a href="http://www.facebook.com/share.php?u=<url>" onclick="return fbs_click()" target="_blank">推到FACEBOOK</a>
</div>
<div style='width:90px;><a href="javascript: void(window.open('http://twitter.com/home/?status='.concat(encodeURIComponent(document.title)) .concat(' ') .concat(encodeURIComponent(location.href))));">推到twitter</a></div>
推到PLURK
<div><a href="javascript: void(window.open('http://www.plurk.com/?qualifier=shares&status=' .concat(encodeURIComponent(location.href)) .concat(' ') .concat('(') .concat(encodeURIComponent(document.title)) .concat(')')));">推到PLURK</a></div>
推到FACEBOOK
<div><script>function fbs_click() {u=location.href;t=document.title;window.open(file://<wppreservesinglequote/ />http://www.facebook.com/sharer.php?u=\\<WPPreserveSingleQuote />+encodeURIComponent(u)+\\<WPPreserveSingleQuote />&t=\\<WPPreserveSingleQuote />+encodeURIComponent(t),\\<WPPreserveSingleQuote />sharer\\<WPPreserveSingleQuote />,\\<WPPreserveSingleQuote />toolbar=0,status=0,width=626,height=436\\<WPPreserveSingleQuote />);return false;}</script><a href="http://www.facebook.com/share.php?u=<url>" onclick="return fbs_click()" target="_blank">推到FACEBOOK</a>
</div>
2009年11月25日 星期三
測試的Method的時間
Stopwatch sw = new Stopwatch();
TimeSpan el;
long ms;
sw.Reset();
sw = Stopwatch.StartNew();
//測試的Method
sw.Stop();
el = sw.Elapsed;
ms = sw.ElapsedMilliseconds;
TimeSpan el;
long ms;
sw.Reset();
sw = Stopwatch.StartNew();
//測試的Method
sw.Stop();
el = sw.Elapsed;
ms = sw.ElapsedMilliseconds;
2009年11月13日 星期五
2009年9月28日 星期一
MsoTriState Enumeration
http://msdn.microsoft.com/en-us/library/aa432714.aspx
Name Value Description
msoCTrue 1 Not supported.
msoFalse 0 False.
msoTriStateMixed -2 Not supported.
msoTriStateToggle -3 Not supported.
msoTrue -1 True.
Name Value Description
msoCTrue 1 Not supported.
msoFalse 0 False.
msoTriStateMixed -2 Not supported.
msoTriStateToggle -3 Not supported.
msoTrue -1 True.
Open Excel 很難找
很難找到 記錄起來
http://msdn.microsoft.com/zh-tw/library/microsoft.office.interop.excel.workbooks.open(office.11).aspx
Parameters
Filename
Required String. The file name of the workbook to be opened.
UpdateLinks
Optional Object. Specifies the way links in the file are updated. If this argument is omitted, the user is prompted to specify how links will be updated. Otherwise, this argument is one of the values listed in the following table.
Value
Meaning
1
User specifies how links will be updated
2
Never update links for this workbook on opening
3
Always update links for this workbook on opening
If Microsoft Excel is opening a file in the WKS, WK1, or WK3 format and the UpdateLinks argument is 2, Microsoft Excel generates charts from the graphs attached to the file. If the argument is 0, no charts are created.
ReadOnly
Optional Object. True to open the workbook in read-only mode.
Format
Optional Object. If Microsoft Excel is opening a text file, this argument specifies the delimiter character, as shown in the following table. If this argument is omitted, the current delimiter is used.
Value
Delimiter
1
Tabs
2
Commas
3
Spaces
4
Semicolons
5
Nothing
6
Custom character (see the Delimiter argument)
Password
Optional Object. A string that contains the password required to open a protected workbook. If this argument is omitted and the workbook requires a password, the user is prompted for the password.
WriteResPassword
Optional Object. A string that contains the password required to write to a write-reserved workbook. If this argument is omitted and the workbook requires a password, the user will be prompted for the password.
IgnoreReadOnlyRecommended
Optional Object. True to have Microsoft Excel not display the read-only recommended message (if the workbook was saved with the Read-Only Recommended option).
Origin
Optional Object. If the file is a text file, this argument indicates where it originated (so that code pages and Carriage Return/Line Feed (CR/LF) can be mapped correctly). Can be one of the following XlPlatform constants: xlMacintosh, xlWindows, or xlMSDOS. If this argument is omitted, the current operating system is used.
Delimiter
Optional Object. If the file is a text file and the Format argument is 6, this argument is a string that specifies the character to be used as the delimiter. For example, use Chr(9) for tabs, use "," for commas, use ";" for semicolons, or use a custom character. Only the first character of the string is used.
Editable
Optional Object. If the file is a Microsoft Excel 4.0 add-in, this argument is True to open the add-in so that it’s a visible window. If this argument is False or omitted, the add-in is opened as hidden, and it cannot be unhidden. This option doesn't apply to add-ins created in Microsoft Excel 5.0 or later. If the file is an Excel template, use True to open the specified template for editing or False to open a new workbook based on the specified template. The default value is False.
Notify
Optional Object. If the file cannot be opened in read/write mode, this argument is True to add the file to the file notification list. Microsoft Excel will open the file as read-only, poll the file notification list, and then notify the user when the file becomes available. If this argument is False or omitted, no notification is requested, and any attempts to open an unavailable file will fail.
Converter
Optional Object. The index of the first file converter to try when opening the file. The specified file converter is tried first; if this converter doesn’t recognize the file, all other converters are tried. The converter index consists of the row numbers of the converters returned by the FileConverters property.
AddToMru
Optional Object. True to add this workbook to the list of recently used files. The default value is False.
Local
Optional Object. True saves files against the language of Microsoft Excel (including control panel settings). False (default) saves files against the language of Visual Basic for Applications (VBA) (which is typically U.S. English unless the VBA project where Workbooks.Open is run from is an old internationalized XL5/95 VBA project).
CorruptLoad
Optional Object. Can be one of the following constants: xlNormalLoad, xlRepairFile, and xlExtractData. The default behavior if no value is specified is usually normal, but may be safe load or data recovery if Excel has already attempted to open the file. The first attempt is normal. If Excel stops operating while opening the file, the second attempt is safe load. If Excel again stops operating, the next attempt is data recovery.
http://msdn.microsoft.com/zh-tw/library/microsoft.office.interop.excel.workbooks.open(office.11).aspx
Parameters
Filename
Required String. The file name of the workbook to be opened.
UpdateLinks
Optional Object. Specifies the way links in the file are updated. If this argument is omitted, the user is prompted to specify how links will be updated. Otherwise, this argument is one of the values listed in the following table.
Value
Meaning
1
User specifies how links will be updated
2
Never update links for this workbook on opening
3
Always update links for this workbook on opening
If Microsoft Excel is opening a file in the WKS, WK1, or WK3 format and the UpdateLinks argument is 2, Microsoft Excel generates charts from the graphs attached to the file. If the argument is 0, no charts are created.
ReadOnly
Optional Object. True to open the workbook in read-only mode.
Format
Optional Object. If Microsoft Excel is opening a text file, this argument specifies the delimiter character, as shown in the following table. If this argument is omitted, the current delimiter is used.
Value
Delimiter
1
Tabs
2
Commas
3
Spaces
4
Semicolons
5
Nothing
6
Custom character (see the Delimiter argument)
Password
Optional Object. A string that contains the password required to open a protected workbook. If this argument is omitted and the workbook requires a password, the user is prompted for the password.
WriteResPassword
Optional Object. A string that contains the password required to write to a write-reserved workbook. If this argument is omitted and the workbook requires a password, the user will be prompted for the password.
IgnoreReadOnlyRecommended
Optional Object. True to have Microsoft Excel not display the read-only recommended message (if the workbook was saved with the Read-Only Recommended option).
Origin
Optional Object. If the file is a text file, this argument indicates where it originated (so that code pages and Carriage Return/Line Feed (CR/LF) can be mapped correctly). Can be one of the following XlPlatform constants: xlMacintosh, xlWindows, or xlMSDOS. If this argument is omitted, the current operating system is used.
Delimiter
Optional Object. If the file is a text file and the Format argument is 6, this argument is a string that specifies the character to be used as the delimiter. For example, use Chr(9) for tabs, use "," for commas, use ";" for semicolons, or use a custom character. Only the first character of the string is used.
Editable
Optional Object. If the file is a Microsoft Excel 4.0 add-in, this argument is True to open the add-in so that it’s a visible window. If this argument is False or omitted, the add-in is opened as hidden, and it cannot be unhidden. This option doesn't apply to add-ins created in Microsoft Excel 5.0 or later. If the file is an Excel template, use True to open the specified template for editing or False to open a new workbook based on the specified template. The default value is False.
Notify
Optional Object. If the file cannot be opened in read/write mode, this argument is True to add the file to the file notification list. Microsoft Excel will open the file as read-only, poll the file notification list, and then notify the user when the file becomes available. If this argument is False or omitted, no notification is requested, and any attempts to open an unavailable file will fail.
Converter
Optional Object. The index of the first file converter to try when opening the file. The specified file converter is tried first; if this converter doesn’t recognize the file, all other converters are tried. The converter index consists of the row numbers of the converters returned by the FileConverters property.
AddToMru
Optional Object. True to add this workbook to the list of recently used files. The default value is False.
Local
Optional Object. True saves files against the language of Microsoft Excel (including control panel settings). False (default) saves files against the language of Visual Basic for Applications (VBA) (which is typically U.S. English unless the VBA project where Workbooks.Open is run from is an old internationalized XL5/95 VBA project).
CorruptLoad
Optional Object. Can be one of the following constants: xlNormalLoad, xlRepairFile, and xlExtractData. The default behavior if no value is specified is usually normal, but may be safe load or data recovery if Excel has already attempted to open the file. The first attempt is normal. If Excel stops operating while opening the file, the second attempt is safe load. If Excel again stops operating, the next attempt is data recovery.
2009年9月10日 星期四
Static
常常記不起來,還是先Blog 起來好了
***Static Variables***
Please enter 5 numbers to be summed
Enter a number: 12
The current total is 12
Enter a number: 23
The current total is 35
Enter a number: 34
The current total is 69
Enter a number: 45
The current total is 114
Enter a number: 56
The current total is 170
Program completed
Sample 比較容易懂
Static Constructors
public class Bus
{
// Static constructor:
static Bus()
{
System.Console.WriteLine("The static constructor invoked.");
}
public static void Drive()
{
System.Console.WriteLine("The Drive method invoked.");
}
}
A slightly more informative example would be:
static void Main()
{
Bus.Drive();
Bus.Drive();
}
which gives the output:
The static constructor invoked.
The Drive method invoked.
The Drive method invoked.
Thus showing that the constructor is only called once, even though 'Drive()' was called twice.
***Static Variables***
Please enter 5 numbers to be summed
Enter a number: 12
The current total is 12
Enter a number: 23
The current total is 35
Enter a number: 34
The current total is 69
Enter a number: 45
The current total is 114
Enter a number: 56
The current total is 170
Program completed
2009年7月14日 星期二
IE6中出現「無法設置selected屬性」的bug及解決方法
如果在IE6中設置select控件的selected屬性的時候,會提示「無法設置selected屬性。未指明的錯誤。」
後來查了一下資料,發現這個錯誤在IE5.5、7及Firefox等瀏覽器下面沒有問題,唯獨IE6下有如下的提示。後來有人找到了一個解決的方法,就是設置selected屬性的時候使用setTimeout函數設定一個時間即可,代碼如下:
var selectObj = document.getElementById('selectId');
// 使用setTimeout之後問題解決
setTimeout(function() { selectObj.options[1].selected = true;}, 1);
2009年3月4日 星期三
解決新注音在MSN 2009的輸入問題
微軟在最近更新的動作頻頻,尤其是推出了全新系列的Windows Live 2009,讓不少喜歡嚐鮮的朋友更新,不過也有很多人發現在使用Windows Live Messenger 2009(原MSN即時通)時,沒有辦法用新注音輸入法輸入中文,難道微軟自己的產品也會打架?
Step 1.這確實是一個很弔詭也很好笑的Bug, 因為居然連微軟自己的兩個工具都不相容, 也難怪Windows系統會問題多多了,但抱怨歸抱怨, 對於常使用這兩款工具的朋友來說,還是要找出解決的辦法。 2.其實方法很簡單,先找到Windows Live Messenger的程式或啟動捷徑,然後在上面點擊滑鼠右鍵, 於選單中選擇【內容】,接著切換到〔相容性〕標籤分頁,勾選「 關閉這個應用程式的進階文字服務」, 就可以用新注音輸入法順利的在新版即時通上打字了。
本文轉貼自download網路密技王
Step 1.這確實是一個很弔詭也很好笑的Bug, 因為居然連微軟自己的兩個工具都不相容, 也難怪Windows系統會問題多多了,但抱怨歸抱怨, 對於常使用這兩款工具的朋友來說,還是要找出解決的辦法。 2.其實方法很簡單,先找到Windows Live Messenger的程式或啟動捷徑,然後在上面點擊滑鼠右鍵, 於選單中選擇【內容】,接著切換到〔相容性〕標籤分頁,勾選「 關閉這個應用程式的進階文字服務」, 就可以用新注音輸入法順利的在新版即時通上打字了。
本文轉貼自download網路密技王
2009年1月9日 星期五
如何製作可開機 USB 隨身碟
總共有 7 個步驟:
- 下載 Windows-based Format Utility for HP DiskOnKey USB Device 工具程式
- 執行 SP27213.exe 安裝檔,預設會有兩個執行檔會安裝到 C:\DriveKey 目錄下:
HPUSBF.EXEDOS Command-line 工具程式
HPUSBFW.EXEWindows格式化USB磁碟工具 - 將 HPUSBFW.EXE 透過 7-zip 或其他解壓縮工具解壓縮到任意目錄下備註1:該目錄裡面含DOS開機程式備註2:假設我們解壓縮到 C:\DriveKey\HPUSBFW 目錄下,如下圖示:
- 執行 HPUSBFW.EXE 程式,並設定 USB 的 Volume label 與 Format options重點是你若要讓 USB 隨身碟可開機的話,必須勾選 Create a DOS startup disk 並設定 using DOS system files located at 欄位,指定到步驟 3 解壓縮的目錄,例如:C:\DriveKey\HPUSBFW 之後畫面會提示你該 USB 磁碟中的資料會全部被清除掉,按下 是(Y) 就可以格式化完成:
- 接著為了讓 USB 開機磁碟可以支援 CD-ROM 讀取,還必須複製 C:\DriveKey\HPUSBFW 目錄下的一些檔案到 USB 磁碟中,如下檔案:
ANSI.SYSCHOICE.COMCOMMAND.COMEMM386.EXEHIMEM.SYSMSCDEX.EXEOAKCDROM.SYSRAMDRIVE.SYS注意:該目錄下的 IO.SYS 與 MSDOS.SYS 是系統檔案,不能再複製進去蓋掉。 - 建立一個 CONFIG.SYS 設定檔,檔案內容如下:
DEVICE=HIMEM.SYS
DEVICE=EMM386.EXE NOEMS
DEVICEHIGH=OAKCDROM.SYS /D:MSCD001
DOS=HIGH,UMB
FILES=30
BUFFERS=30
LASTDRIVE=Z - 建立一個 AUTOEXEC.BAT 批次檔,檔案內容如下:
LH MSCDEX.EXE /D:MSCD001
之前也是研究了好久,這應該是最精簡的步驟了,而且只需要下載一個檔案而已。
相關連結
Windows-based Format Utility for HP DiskOnKey USB Device
http://blog.miniasp.com/post/2008/12/Useful-tools-How-to-make-a-bootable-USB-disk.aspx
2008年12月20日 星期六
升級我的差六零
想升級已經有一段時間了,就去買了一個7K320和4G的ram來升級我的電腦,
NB好像跟一般的PC不太一樣,一開始想說可以重灌完,然後修改XP cd Key的方式,
於是用XP SP2的光碟去重灌,
但是就一直無法更新XP的序號,一直說我的錯的,打電話去給MS,還一直佔線,
最後接到客服,聽起來像是大陸人,就叫我去找IBM,folk,改個key有這麼難嗎?
我有隨機版耶~ 竟然不能改成隨機版的key ...
於是就去跟lenovo要了還原光碟,用法跟網路上的使用方法完全不一樣,
CD就有 1 跟 2兩片,叫我放1這一片, 但是事實上是要我放2這一片,就這樣把光碟換來換去,才裝取來.
另一個悲劇發生了, 還原光碟無法切割硬碟,就一整個都是C槽, folk,我一個C有320G 要做什麼?
(F哥說可以先回復完再去切,但我沒有試,現在覺得這應該是正解) 想到為什麼不用這個方案,
因為IIS裝不起來 ....
GHOST是大學時期常用的工具,可以我好久沒有用了,一直沒有想到要用GHOST,
在網路上找到另一個叫做TrueImage的工具,硬碟對Co ,but 竟然無法開機,
後來用GHOST去做,還是無法開機, GHOST用到11還是一樣,
奇怪~我之前就有用XP自己重灌過,也改過序號,這條路應該是會通的阿?!!
用舊一點的XP 光碟來重灌看看, 只有抓到130G的空間~抓不到320G,
管他的先灌再說,還是無法變更序號, folk 我也不想用盜版阿~ 你MS就是不改變更,有什麼辦法
今天早上有發生一件事,就是WGA,其實就是想說我上一次變更序號是不是跟這個有關,
會不會裝了以後它就會帶領我正確的變更我的序號, folk, folk, 連用兩個folk是因為,
WGA不但沒有帶領我走向正確的道路,還跟我索費五千元,還在我開機的時候一直說我是盜版的,
還幫我換了WGA的桌布,雖然跟我之前桌布一樣是黑色的,但是我並不想用這樣的桌布,真的是folk中的folk,還好找到了RemoveWGA.exe 這樣的東西,把那個惱人的WGA移除.
現在說說RAM的部份, 之前就聽說過32位元的OS只能用到3G的ram, 在網路上看到有人用
ramdisk的方式,使用到看不到了第四G,又剛好當週在特價,就決定要買2*2G,買回來裝上去,
竟然會出現死亡之藍, 一次兩次,測一測發現有一條是有問題的,後來拿給F哥試,竟然是可以用的,
但好景不常,隔天就也出現死亡之藍,於是要求換貨,店家打電話給我問我是怎麼測的,
店家說有可能是兩條ram的顆粒衝突, 兩條不是一樣的嗎,怎麼會有衝突這回事,
就跟他說我差兩條新的會掛,一新一舊 OK, 另一新一舊會掛,就是有一條有問題,裝在別台電腦也會有問題,這很明顯就是這一條有問題, 店家回應說那裝一條試看看, folk, 火氣整個上來, 我買兩條就是要裝兩條!!, 店家馬上回應進行換貨.
約過了四天,灌好系統的7k320+2*2G到位,準備來測看看傳說中的XP32bit用4G ram,
先設1G的ramdisk, 開機後發現ram被吃掉1.4~1.5G 該不會是ramdisk吃掉的吧,
把ramdisk 移除, 就降到4百多, 不會吧~~ 真的沒有辦法用到4G嗎?
找了很多資料也試了很多方法, 最後的結論是Intel 945的晶片沒有辦法支源到4G,
那4G豈不是裝爽的, 沒錯, 就是裝爽的. 事實上只用到3G.
刺激消費,花錢受罪.
NB好像跟一般的PC不太一樣,一開始想說可以重灌完,然後修改XP cd Key的方式,
於是用XP SP2的光碟去重灌,
但是就一直無法更新XP的序號,一直說我的錯的,打電話去給MS,還一直佔線,
最後接到客服,聽起來像是大陸人,就叫我去找IBM,folk,改個key有這麼難嗎?
我有隨機版耶~ 竟然不能改成隨機版的key ...
於是就去跟lenovo要了還原光碟,用法跟網路上的使用方法完全不一樣,
CD就有 1 跟 2兩片,叫我放1這一片, 但是事實上是要我放2這一片,就這樣把光碟換來換去,才裝取來.
另一個悲劇發生了, 還原光碟無法切割硬碟,就一整個都是C槽, folk,我一個C有320G 要做什麼?
(F哥說可以先回復完再去切,但我沒有試,現在覺得這應該是正解) 想到為什麼不用這個方案,
因為IIS裝不起來 ....
GHOST是大學時期常用的工具,可以我好久沒有用了,一直沒有想到要用GHOST,
在網路上找到另一個叫做TrueImage的工具,硬碟對Co ,but 竟然無法開機,
後來用GHOST去做,還是無法開機, GHOST用到11還是一樣,
奇怪~我之前就有用XP自己重灌過,也改過序號,這條路應該是會通的阿?!!
用舊一點的XP 光碟來重灌看看, 只有抓到130G的空間~抓不到320G,
管他的先灌再說,還是無法變更序號, folk 我也不想用盜版阿~ 你MS就是不改變更,有什麼辦法
今天早上有發生一件事,就是WGA,其實就是想說我上一次變更序號是不是跟這個有關,
會不會裝了以後它就會帶領我正確的變更我的序號, folk, folk, 連用兩個folk是因為,
WGA不但沒有帶領我走向正確的道路,還跟我索費五千元,還在我開機的時候一直說我是盜版的,
還幫我換了WGA的桌布,雖然跟我之前桌布一樣是黑色的,但是我並不想用這樣的桌布,真的是folk中的folk,還好找到了RemoveWGA.exe 這樣的東西,把那個惱人的WGA移除.
現在說說RAM的部份, 之前就聽說過32位元的OS只能用到3G的ram, 在網路上看到有人用
ramdisk的方式,使用到看不到了第四G,又剛好當週在特價,就決定要買2*2G,買回來裝上去,
竟然會出現死亡之藍, 一次兩次,測一測發現有一條是有問題的,後來拿給F哥試,竟然是可以用的,
但好景不常,隔天就也出現死亡之藍,於是要求換貨,店家打電話給我問我是怎麼測的,
店家說有可能是兩條ram的顆粒衝突, 兩條不是一樣的嗎,怎麼會有衝突這回事,
就跟他說我差兩條新的會掛,一新一舊 OK, 另一新一舊會掛,就是有一條有問題,裝在別台電腦也會有問題,這很明顯就是這一條有問題, 店家回應說那裝一條試看看, folk, 火氣整個上來, 我買兩條就是要裝兩條!!, 店家馬上回應進行換貨.
約過了四天,灌好系統的7k320+2*2G到位,準備來測看看傳說中的XP32bit用4G ram,
先設1G的ramdisk, 開機後發現ram被吃掉1.4~1.5G 該不會是ramdisk吃掉的吧,
把ramdisk 移除, 就降到4百多, 不會吧~~ 真的沒有辦法用到4G嗎?
找了很多資料也試了很多方法, 最後的結論是Intel 945的晶片沒有辦法支源到4G,
那4G豈不是裝爽的, 沒錯, 就是裝爽的. 事實上只用到3G.
刺激消費,花錢受罪.
2008年12月4日 星期四
aspnet_regiis.exe
http://blog.blueshop.com.tw/shian/articles/54050.aspx
| 在本機電腦上安裝及解除安裝 ASP.NET 的管理公用程式 | ||||
| -i | 安裝這個版本的 ASP.NET,並且更新位於 IIS Metabase 根目錄的 Scriptmap 以及根目錄下的所有 Scriptmap。較低版本的現有 Scriptmap 都會更新成這個版本。 | |||
| -ir | 安裝這個版本的 ASP.NET,僅註冊。不更新 IIS 中的 Scriptmap。 | |||
| -iru | 安裝這個版本的 ASP.NET。如果有任何使用 ASP.NET 的現有應用程式,則不會更新 IIS 中的 Scriptmap。 | |||
| -enable | 當 -enable 以 -i、-ir 或 -r 指定時,ASP.NET 也會在 IIS 安全性主控台 (IIS 6.0 或以後)中啟用。 | |||
| -disable | 當 -disable 以 -i、-ir 或 -r 指定時,ASP.NET 也會在 IIS 安全性主控台 (IIS 6.0 或以後)中停用。 | |||
| -s | 在指定的路徑以遞迴方式安裝這個版本的 Scriptmap。 例如 aspnet_regiis.exe -s W3SVC/1/ROOT/SampleApp1 | |||
| -sn | 在指定的路徑以非遞迴方式安裝這個版本的 Scriptmap。 | |||
| -r | 安裝這個版本的 ASP.NET,並且更新位於 IIS Metabase 根目錄的 Scriptmap 以及根目錄下的所有 Scriptmap。 不論其原先版本為何,都會變更為這個版本。 | |||
| -u | 解除安裝這個版本的 ASP.NET。現有版本的 Scriptmap 會重新對應到電腦上所安裝其他 ASP.NET 版本中最高的版本。 | |||
| -ua | 解除安裝電腦上所有版本的 ASP.NET。 | |||
| -k | 從指定的路徑以遞迴方式移除任何 ASP.NET 版本的 Scriptmap。 例如 aspnet_regiis.exe -k W3SVC/1/ROOT/SampleApp1 | |||
| -kn | 從指定的路徑以非遞迴方式移除任何 ASP.NET 版本的 Scriptmap。 | |||
| -lv | 列出電腦上安裝的所有 ASP.NET 版本,以及狀態和安裝路徑。 | |||
| -lk | 列出 ASP.NET 由指令碼對應的所有 IIS Metabase 索引鍵的所有路徑,並列出其版本。 從父索引鍵繼承 ASP.NET Scriptmap 的索引鍵將不會顯示出來。 | |||
| -c | 將這個版本的用戶端指令碼安裝到每個 IIS 站台目錄的 aspnet_client 子目錄 | |||
| -e | 從每個 IIS 站台目錄的 aspnet_client 子目錄移除這個版本的用戶端指令碼。 | |||
| -ea | 從每個 IIS 站台目錄的 aspnet_client 子目錄移除所有版本的用戶端指令碼。 | |||
| -ga | 針對 ASP.NET 所使用的 IIS Metabase 和其他目錄,授與指定的使用者或群組存取權限。 | |||
| 組態加密選項 | ||||
| -pe 區段 | 加密組態區段。 | |||
| -pd 區段 | 解密組態區段。 | |||
| -pef 區段 | web-app-physical-dir | |||
| -pdf 區段 | web-app-physical-dir | |||
| -pc 容器 | 在 ContainerName 中建立 RSA 金鑰組 | |||
| -pz 容器 | 刪除 ContainerName。 | |||
| -pi 容器檔案 | 由 Xml 檔案匯入 RSA 金鑰組。 | |||
| -px 容器檔案 | 將 RSA 金鑰組匯出至 Xml 檔案。 | |||
| -pa 容器帳戶 | 為容器加入帳戶存取權限。 | |||
| -pr 容器帳戶 | 移除容器的帳戶存取權限。 | |||
| 組態遠端存取選項 | ||||
| -config+ | 啟用組態遠端存取。 | |||
| -config- | 停用組態遠端存取。 | |||
2008年11月27日 星期四
Process.WaitForExit 方法
設定要等待相關的處理序結束的時間,並且阻止目前的執行緒執行,直到等候時間耗盡或者處理序已經結束為止。
WaitForExit 用來使目前執行緒等候直到相關的處理序終止。
WaitForExit 的這個多載會指示 Process 元件等候一段時間,讓處理序結束。如果相關的處理序因為終止要求被拒絕,而沒有在間隔結束前結束,會傳回 false 至呼叫的程序。您可以為 milliseconds 指定負數,但是 WaitForExit 會將它視為非常大的正數。如果傳遞零給方法,它只會在處理序已經結束的情況下傳回 true。
當相關的處理序結束 (被作業系統正常或異常終止關閉時),系統會將處理序的管理資訊儲存起來,並傳回至呼叫 WaitForExit 的元件。Process 元件便可以利用結束的處理序的 Handle,存取包含 ExitTime 在內的資訊。
因為相關的處理序已經結束,元件的 Handle 屬性不再指向現有的處理序資源。而控制代碼只能用來存取有關處理序資源的作業系統資訊。系統會察覺尚未被 Process 元件釋放之結束的處理序的控制代碼,所以會將 ExitTime 和 Handle 資訊保留在記憶體中,直到 Process 元件明確的釋放資源為止。因此,每次要為 Process 執行個體呼叫 Start 時,都要在相關的處理序已經終止,且您不再需要有關它的任何管理資訊時,才呼叫 Close。Close 會釋放配置給已經結束的處理序的記憶體。
| 名稱 | 說明 |
|---|---|
| Process.WaitForExit () | 指示 Process 元件無限期等候相關處理序的結束。 受 .NET Compact Framework 支援。 |
| Process.WaitForExit (Int32) | 指示 Process 元件等候指定毫秒數,讓相關的處理序結束。 受 .NET Compact Framework 支援。 |
WaitForExit 用來使目前執行緒等候直到相關的處理序終止。
WaitForExit 的這個多載會指示 Process 元件等候一段時間,讓處理序結束。如果相關的處理序因為終止要求被拒絕,而沒有在間隔結束前結束,會傳回 false 至呼叫的程序。您可以為 milliseconds 指定負數,但是 WaitForExit 會將它視為非常大的正數。如果傳遞零給方法,它只會在處理序已經結束的情況下傳回 true。
當相關的處理序結束 (被作業系統正常或異常終止關閉時),系統會將處理序的管理資訊儲存起來,並傳回至呼叫 WaitForExit 的元件。Process 元件便可以利用結束的處理序的 Handle,存取包含 ExitTime 在內的資訊。
因為相關的處理序已經結束,元件的 Handle 屬性不再指向現有的處理序資源。而控制代碼只能用來存取有關處理序資源的作業系統資訊。系統會察覺尚未被 Process 元件釋放之結束的處理序的控制代碼,所以會將 ExitTime 和 Handle 資訊保留在記憶體中,直到 Process 元件明確的釋放資源為止。因此,每次要為 Process 執行個體呼叫 Start 時,都要在相關的處理序已經終止,且您不再需要有關它的任何管理資訊時,才呼叫 Close。Close 會釋放配置給已經結束的處理序的記憶體。
2008年10月28日 星期二
IE6 R6025
徵狀
當您在執行 Microsoft Windows XP, 電腦執行 Microsoft Internet Explorer 6 可能會收到類似下列的錯誤訊息:
執行階段錯誤 !
程式設計 C:\PROGRAM FILES\INTERNET EXPLORER\IEXPLORE.EXE
R 6025
純虛擬函式呼叫
除此之外, Internet Explorer 6 可能會關閉當您按一下 [ 確定 ] 以關閉錯誤訊息。
請參考:http://support.microsoft.com/kb/925418
當您在執行 Microsoft Windows XP, 電腦執行 Microsoft Internet Explorer 6 可能會收到類似下列的錯誤訊息:
執行階段錯誤 !
程式設計 C:\PROGRAM FILES\INTERNET EXPLORER\IEXPLORE.EXE
R 6025
純虛擬函式呼叫
除此之外, Internet Explorer 6 可能會關閉當您按一下 [ 確定 ] 以關閉錯誤訊息。
請參考:http://support.microsoft.com/kb/925418
2008年10月23日 星期四
windows XP 的目錄安全性設定
今天在幫萬能檢查我們家的系統安裝問題,因為他們裝起來出現無法存取read only的檔案,
一看就知道是該檔案的權限沒有開修改/寫入的權限,
在我的電腦上很清楚的就是要在目錄按右鍵-->內容-->安全性,加入要給存取的Account。
偏偏在那台電腦上看到的是這樣

怪怪,竟然沒有安全性的設定可以讓我設,這是怎樣?
在網路上看到有人說是因為他沒有用NTFS format所以沒有這個設定,
但是這台電腦是用NTFS沒有錯,試著把檔案搬移到別的地方,或是把執行的身分改為administrator,皆不奏效。技無可施的情況下,看了佛哥一眼,又很不想問他,不想打擾他,
最後還是問了。你第一天來上班喔!! 工具-->資料夾選項-->檢視-->使用簡易檔案共用(建議使用) 不要勾,就好了。
哇咧~ 還建議使用咧~ 什麼東西啊~~
真的就好像是「別再為小事抓狂」這本書寫得,有時候我們一直想要解一個問題,在解不出來之際,不如問一下身邊的同事。
一看就知道是該檔案的權限沒有開修改/寫入的權限,
在我的電腦上很清楚的就是要在目錄按右鍵-->內容-->安全性,加入要給存取的Account。
偏偏在那台電腦上看到的是這樣

怪怪,竟然沒有安全性的設定可以讓我設,這是怎樣?
在網路上看到有人說是因為他沒有用NTFS format所以沒有這個設定,
但是這台電腦是用NTFS沒有錯,試著把檔案搬移到別的地方,或是把執行的身分改為administrator,皆不奏效。技無可施的情況下,看了佛哥一眼,又很不想問他,不想打擾他,
最後還是問了。你第一天來上班喔!! 工具-->資料夾選項-->檢視-->使用簡易檔案共用(建議使用) 不要勾,就好了。
哇咧~ 還建議使用咧~ 什麼東西啊~~
真的就好像是「別再為小事抓狂」這本書寫得,有時候我們一直想要解一個問題,在解不出來之際,不如問一下身邊的同事。
訂閱:
文章 (Atom)