วันศุกร์ที่ 14 ธันวาคม พ.ศ. 2561

Ubuntu Hosts file

จะกำหนด hosts ให้กับ ubuntu ต้องทำยังไง ก็ไปที่นี่เลยครับ

sudo nano /etc/hosts

แล้วก็เพิ่ม/แก้ไขได้ตามสะบายครับ เพิ่ม/แก้ไขแล้วก็ลองเรียกใช้งานดูครับ

โชคดี

วันพฤหัสบดีที่ 6 ธันวาคม พ.ศ. 2561

Outlook 2007 / 2010 เปิดไม่ได้ มี Error | outlook.exe /resetnavpane

Outlook 2007 / 2010 เปิดไม่ได้ มี Error แต่ผมจำไม่ได้ว่า Error ขึ้นว่าอ่ะไรนะครับ เพราะบางครั้งไม่ได้แก้ที่การ scan .pst แล้วหาย แต่การ reset อีกแบบที่ผมกำลังแนะนำ ผมทำแล้วอาการเปิดไม่ได้หายทันที  ลองทำแบบนี้ดูครับ

กดปุ่ม Windows+Run

พิมพ์

outlook.exe /resetnavpane

แล้วก็ Enter หรือกดปุ่ม OK


โชคดีครับ

Excel Error: There was a problem sending the command to the program


ใน Microsoft Excel ข้อความแสดงข้อผิดพลาดว่า "There was a problem sending the command to the program"

Mircosoft Excel 2010 และ 2013

คลิกแท็บ File แล้วคลิก Options 

คลิก Advanced เลื่อนลงไปที่ General และเอา Ignore other applications that use Dynamic Data Exchange (DDE) ออก ลองเปิด Excel ใหม่อีกรอบครับ


โชคดี

วันพฤหัสบดีที่ 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 ก็ได้แล้วแต่ถนัด

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

วันศุกร์ที่ 26 ตุลาคม พ.ศ. 2561

แก้ IP Gateway DNS ( Ubuntu )

แก้ IP Gateway DNS ( Ubuntu )
นานๆ ใช้ที ก็เลยลืม Note เอาไว้ก่อน

nano /etc/hostname

Check IP Address
ifconfig -a

Edit Interface
nano /etc/network/interfaces

Edit DNS
nano /etc/resolv.conf

Restart Interface
/etc/init.d/networking restart

จบข่าว...

แก้ Active Desktop Recovery

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