Home My Day 2010 ปีขาล ในที่สุดก็ run โปรแกรมคำนวณ ภงด.91 บน Windows 7 ได้
27
Mar
2010

เรื่องที่เรียนรู้ได้วันนี้มันยาวมาก


เริ่มต้นจาก... ยังไม่ได้ยื่นภงด.91 ซักที เพราะว่าโปรแกรมที่ช่วยคำนวณรายการภาษีเงินได้บุคคลธรรมดา ที่โหลดมาจากเว็บกรมสรรพากร (และเว็บอื่นๆที่ปล่อย เช่น ที่นี่) มันเปิดไม่ได้  ลองไปสามเครื่องเป็นเหมือนกันหมด ปัญหาที่เจอทั้งหมดและวิธีแก้มีตามข้างล่างนี้

?

1. ตอน install อ่านไม่ออกเป็นภาษายึกยือ

  • ไปที่ Contol Panel > Clock, Language and Region > Region and Language > Change Location > Tab Location = Thailand 

2. เปิดโปรแกรมขึ้นมาแล้ว error crystl32.ocx แบบนี้

The most common reason the Cryst32.ocx will not register is that it is missing one or more dependencies.  

To register the crystl32.ocx make sure the following dependencies are present on your machine, then the OCX will register.

  • ไปที่ windows\systems32 แล้ว search ดูว่ามีไฟล์เหล่านี้ครบหรือเปล่า  
    • CRYSTL32.OCX
    • ADVAPI32.DLL
    • COMCTL32.DLL
    • COMDLG32.DLL
    • CRPE32.DLL
    • GDI32.DLL
    • IMPLODE.DLL
    • MFC42.DLL
    • MSVCRT.DLL
    • MSVCRT20.DLL
    • OLE32.DLL
    • OLEAUT32.DLL
    • OLEDLG.DLL
    • OLEPRO32.DLL
    • USER32.DLL 
    • VERSION.DLL
  • ขาดตัวไหนก้อไป d/l มาจาก http://www.dll-files.com ส่วนตัว Crystal32.ocx เอามาจาก ocxdump.com
  • ไฟล์ที่โหลดลงมาแล้ว ก็เอาไปไว้ใน path ที่ว่า แต่ถ้าของเดิมมีอยู่แล้วไม่ต้องเอาไปทับ ใช้ของเดิม
  • จากนั้น ไปที่ Program > Run พิมพ์คำว่า regsvr32 crystl32.ocx ถ้ามันขึ้นว่า complete แล้วก็ใช้ได้เลย

3. register crystl32.ocx ไม่ได้ ขึ้น error The module crystal32.ocx was loaded but the call to DllRegisterServer failed with error code 0?8002801c.

  • ไปที่ windows\system32
  • สร้าง text file  ใหม่ด้วย notepad
  • ใน text file พิมพ์คำว่า regsvr32 crystl32.ocx แล้ว save สมมุติว่าตั้งชื่อ crystl.txt
  • rename ชื่อไฟล์เป็น crystl.bat
  • คลิ้กขวาที่ชื่อไฟล์ เลือก run as administrator คราวนี้ควรจะขึ้นว่า complete ได้แล้วอ้ะ

?

Special thanx to

http://www.chilkatsoft.com/p/p_478.asp

http://www.songkwae.com/foxboard/question.asp?QID=7247

and google.com