顯示具有 Windows 標籤的文章。 顯示所有文章
顯示具有 Windows 標籤的文章。 顯示所有文章

2010年12月2日 星期四

SONY VAIO TZ37 無法開啟無線網路。Wireless Keeps turning itself off.



手動把硬體的 wireless/bluetooth 開關設成 off,然後 on,接著就無法使用 wlan,機殼上的 wlan 的燈沒亮,無法使用 VAIO 所附的 wireless switch software 去設定 wlan (只顯示藍芽的部分),而裝置管理員看到的 wlan 網卡又似乎很正常。重灌 intel wlan driver 也沒用。


據 SONY 光華維修中心的工程師說,bluetooth 及 wireless 的狀態,有被記錄在 CMOS 上面,但從 BIOS 又無法設定 on/off,他們猜測是我的系統有問題,以致於進系統後,wireless 又被設成 off。他們搞很久還是無法修復我的 VAIO,建議我重灌 XP。當下接上另一台 TZ37 的硬碟,wireless 卻很正常,最後,唯一能確定的是硬體方面沒問題。


後來回家,在 google 查到以下的方法,確實可行,在此留下記錄,希望可以幫到大家。


- turn the wireless and bluetooth on by the hardware switch or button or Fn+
- close the wireless switch software ( the wireless icon on the windows bar )
- hibernate the laptop (休眠)
- take off the laptop battery and take the power cable off (取下電源線及電池)
- wait for around 1 min. (等待一分鐘)
- turn the hardware switch to on- put everything back in place and start the laptop, you should be able to see the wireless working now. (打開無線網路的硬體開關,接上電源)
- make sure the bluetooth and wireless are working
- go to control panel and uninstall the wireless switch software
- restart you laptop and everything should be working fire and smooth now.


http://www.wirelessforums.org/troubleshooting/sony-vaio-wireless-network-connection-problems-52551.html


結論是,不要安裝 wireless switch software。我現在用硬體開關切換,一切正常。

2010年7月9日 星期五

Intel 945 支援 1920x1200 (1920x1080)

我的 VAIO TZ37 外接螢幕一直無法支援 1920x1200 (1920x1080) 的解析度
網路上找到這篇 hacking,修改 intel driver 的 .inf ,再重裝 driver,一試之下,果然可行!
步驟很多,要一行一行仔細看

http://komku.blogspot.com/2009/10/how-to-get-1920x1080-full-hd-resolution.html

2010年5月1日 星期六

Kill Process by Name

http://www.neurophys.wisc.edu/ravi/software/killproc/

類似 taskkill,但是 taskkill 並非每個 windows 版本都有內建
找了 c 的版本,把它改寫成獨立的工具
此範例只會 kill 其中一個 instance,要刪全部的 instance 要改一下 code

while((iRes=KILL_PROC_BY_NAME(szName)) != 603){
}

2010年4月21日 星期三

ProgressBar in Windows

使用 msctls_progress32

在 xp 必須先呼叫
InitCommonControls(); // libcomctl32.a
否則連它 parent 的 Dialog/Window 也不會出現

在 win7 下
不管有沒有呼叫此函式,progress bar 都會出現

2010年4月13日 星期二

Soft KVM, 一組 keyboard, mount 多台電腦及 monitor

http://synergy2.sourceforge.net/

因為使用 W2XW 時,mouse 經常會卡住,所以改用這套
Win32, Linux, Mac 可用

Server (有 mouse, keyboard 端)






Client

2010年1月23日 星期六

2009年11月25日 星期三

轉貼: Windows 7 使用技巧

http://blog.joytown.tw/2009/09/07/545

10、從隨身碟安裝
28、有效解決Windows 7下刪除檔案提示被佔用
33、解開32位元Win 7記憶體4GB限制

2009年11月19日 星期四

sleep 指令

有時因為某些原因,會希望在 win32 的 .bat 裡面暫停一小段時間
直覺想到 linux 下面的 sleep 指令,但 win32 沒有,我用 gcc 寫了一個
也可以去找 Cygwin,內附眾多GNU Utilities,應該有 sleep
但都太麻煩...
同事的解法,我覺得還不錯,雖不能夠很精確控制 sleep 時間,但是有時是夠用的

> ping 127.0.0.1 -n 10

傳統 win32 的 batch file 真的是相當不便,難怪 ms 要搞個 PowerShell
有 shell 才容易自動化,這也是我喜歡 linux 的很大原因,有此特性將便於管理。