วันพฤหัสบดีที่ 29 พฤศจิกายน พ.ศ. 2561

Arduino Dot Matrix DS3231 แก้ปัญหาเวลาไม่โชว์ printStringWithShift

Module  DS3231 ส่งค่าไปที่ dotMatrix แล้วไม่ออก หรือเป็นตัวอักษรที่อ่านไม่ได้ ไปเจอวิธีนี้มา เก็บไว้ก่อนเดี๋ยวลืม

    DateTime now = RTC.now(); 

    int dtxt = now.day();
    char dstr[0];
    itoa(dtxt, dstr,10);
    printStringWithShift("    ",15);     
    printStringWithShift(dstr,15); 
 
    int mtxt = now.month();
    char mstr[0];
    itoa(mtxt, mstr,10);
    printStringWithShift("/",15);
    printStringWithShift(mstr,15);
 
    int ytxt = now.year();
    char ystr[0];
    itoa(ytxt, ystr,10);
    printStringWithShift("/",15);
    printStringWithShift(ystr,15); 

    float tmtxt = RTC.getTemperature();
    char tmstr[0];
    itoa(tmtxt, tmstr,10);
    printStringWithShift("  Temperature : ",15);
    printStringWithShift(tmstr,15); 
     
    printStringWithShift("'C        ",15);

วันจันทร์ที่ 26 พฤศจิกายน พ.ศ. 2561

เปิดไฟล์ Excel 2007 / 2010 โดยตรงไม่ได้ เปิดแล้วเป็นหน้าขาว ต้องใช้ Open ถึงเปิดได้

กรณี เปิดไฟล์ Excel 2007 / 2010 โดยตรงไม่ได้ เปิดแล้วเป็นหน้าขาว ต้องใช้ Open ถึงเปิดได้ บางคนอาจแก้ โดยการเข้าไป ติ๊กเอาค่านึง ใน Excel Option ตามตัวอย่างในเน็ตออกแล้วหายก็โชดดีไปครับ แต่ของผมลองแล้วไม่หายค้นหาข้อมูลฝรั่งทำไว้พบว่าทำแบบนี้แล้วหาย มาดูวิธีการกันครับ

1. กดปุ่ม Windows+R (เผื่อมีคนไม่เข้าใจ หมายถึงกดปุ่ม รูป Windows ที่คีย์บอร์ดค้างไว้แล้วกดตัว R)

2. พิมพ์ Excel.exe /regserver ลงในช่องเสร็จแล้วกดปุ่ม OK

3. หลังจากขั้นตอนที่ 2. ถ้ามี Error หรืออะไรขึ้นมาก็ตอบ OK หรือ Yes ไปก่อน ผมจำหน้าจอไม่ได้ 55

4. พอโปรแกรม Excel เปิดมาเป็นหน้าขาวปกติแล้วก็ปิด Excel ไป แล้วลองเปิดไฟล์ Excel นั้นๆ อีกที

ถ้ายังเปิดไม่ได้ให้ ทำขั้นตอน 1-3 ใหม่ แล้วให้ลองเปลี่ยนไปเปิดไฟล์ Excel  อื่นๆ ดูก่อน ไฟล์ที่คิดว่าเคยเปิดได้อยู่แล้วก่อนหน้านี้ เพราะบางทีไฟล์ Excel ที่คุณพยายามเปิดอยู่ อาจจะติดไวรัสอะไรเข้าไปหรือไฟล์เสียหายแล้วทำให้ Excel ทำงานผิดปกตินั่นเองครับ

โชคดี

วันพุธที่ 14 พฤศจิกายน พ.ศ. 2561

Outlook 2007 / 2010 เปิดไฟล์แนบไม่ได้ Error : right-click the folder you want to create the file in, and then click Properties on the shortcut menu to check your permissions for the folder

Outlook 2007 / 2010 เปิดไฟล์แนบไม่ได้

Error : right-click the folder you want to create the file in, and then click Properties on the shortcut menu to check your permissions for the folder

ให้ลองสร้าง Folder มา Folder นึง ชื่อ C:\TMP ก็ได้

เข้า Registry
ไปที่ Key

Outlook 2007
HKEY_CURRENT_USER\Software\Microsoft\Office\12\Outlook\Security\

Outlook 2010
HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security\

ดับเบิ๊ลคลิ๊กที่ OutlookSecureTempFolder.
ที่ช่อง Value Data ให้แก้เป็น  C:\TMP\  เเล้วกด OK
ออกจากหน้า Registry Editor

Kill Explorer Process แล้ว Run Explorer อีกครั้ง
หรือ
Restart เครื่อง computer ก็ได้แล้วแต่ถนัด

ลองเปิดไฟล์ที่มีปัญหาดูอีกครั้ง
โชคดี ครับ

แก้ Active Desktop Recovery

เข้าไปแก้ Value ในไฟล์ DeskHtmlVersion  ให้กลายเป็น 0 ไม่ให้แสดงหน้าต่าง Active Desktop Recovery เข้าไปที่  HKEY_CURRENT_USER/Software/Mi...