ข้ามไปที่เนื้อหาหลัก

บทความ

Windows Mobile Emulator ตั้งค่าให้ Cradle ทำงาน

ที่ Device Emulator Manager คลิ้กขวาที่ Emulator เลือก Cradle ที่  Emulator ตั้งค่า ActiveSync ให้ connection via DMA ที่ Windows Mobile Device Center เลือก Allow connection on "DMA" Restart Emulator

ปัญหา SQL Server 2008 ใช้ rtrim แล้วไม่ยอมตัด space ต่อท้าย field

เกิดจาก space ใน sql server มี 2 แบบ คือ soft space กับ  hard space ( ที่มา ) ตัว soft space มักจะเกิดตอน import ข้อมูล โดยมีรหัส ascii คือ 160 แต่ rtrim ทำงานกับ ascii 32 จึงใช้ด้วยกันไม่ได้ แก้โดยใช้ replace เป็น soft space เป็น hard space ก่อน ดังนี้ update the_table set field1 = rtrim(replace(field1,char(160),' ')) where (ascii(right(field1,1))=160) ตรวจสอบโดย select field1, ascii(right(field1,1)) from thetable where ascii(right(field1,1)) = 160 ถ้าทำสำเร็จจะได้ 0 rows effected

ปัญหา Aircard Sierra Compass 885 ใช้กับ win7x ได้ แต่ใช้กับ win8x ไม่ได้

ข้อสำคัญคือต้องใช้ firmware J1_0_1_17BT_J1_0_1_26AP เท่านั้น อาการคือ ติดตั้งบน Win7x64 ได้ แต่พอติดตั้งบน Win8x64 ขึ้น No Device Detect พอแก้ให้ใช้กับ Win8x64 ได้ พอเอามาเสียบกับ Win7x64 ก็ใช้ไม่ได้ซะงั้น 1. ปัญหาเกิดจากตอนติดตั้งไปแล้ว ดันฟ้องว่า driver ที่ลงเป็น unsigned driver เลยไม่ให้ใช้ สำหรับ win7x แก้โดยใช้โปรแกรม  dseo13b  เพื่อทำการ Sign driver แต่ Win8x ไม่รองรับเมนู Enable Test Mode ต้องใช้ command line "bcdedit -set TESTSINGING ON" แทน 2. ปัญหาฝั่ง Win8 เมื่อทำ signed driver แล้วเกิด USB Host controller ไม่ detect อุปกรณ์อะไรเลย ใช้ USBView  แล้วไม่เจออะไรเลยดังภาพ แก้มั่ว ๆ ดังนี้ 1. เข้า Testmode ของ Win8x ด้วย bcdedit...bla...bla....bla.... 2. uninstall USB Host Controller ทุกตัว ปกติถ้า uninstall มันจะ detect กลับมาใหม่แล้วใช้ได้ อันนี้ detect กลับมาใหม่แต่ใช้ไม่ได้ ฟ้องว่า windows has successfully driv er installed but no device detected (code 41) 3. ลง Sierra 3G Watcher ตัวเก่าสุด build 1682 4. Uninstall HD Audio เพื่อให้มัน detect อุป...

แก้ปัญหา u2lcom.dll is missing เมื่อ run crystal report

รับงานเขียน C# ให้พิมพ์ QR Code บน crystal Report พอโหลด dll -ของ  idautomation.com มาใช้ก็เกิดปัญหาเหมือนใน link นี้  http://support.idautomation.com/Crystal-Reports-UFL/U2lcomdll-is-missing/_400 มั่วไปครึ่งวัน ก็พบว่าปัญหาเกิดจาก Win 7 x64 แก้ปัญหาโดยเปลี่ยน Solution Platform ใน C# จาก Any CPU ไปเป็น x86 ก็ใช้ได้แล้ว (อุตส่าห์สมัครสมาชิกเพื่อไปตอบกระทู้ต้นทางเชียวนะ)

Wordpress ไม่สามารถสร้างไฟล์หรือไดเร็คทอรี่ ใน wp-content

ไม่ได้แตะนาน ก็ลืม ต้องเขียนไว้กันลืม ดำเนินการดังนี้ 1. เปลี่ยน group ของ wp-content และ directory ย่อย ให้เป็น group เดียวกันกับ FTP Account ที่ส่งค่าให้ Wordpress ด้วยคำสั่ง `chgrp ชื่อกลุ่ม *` 2. เปลี่ยน permission ของ wp-content และ directory ย่อย ให้เป็น 775 ด้วยคำสั่ง `chmod 775 *`