May 2013
M T W T F S S
« Mar    
 12345
6789101112
13141516171819
20212223242526
2728293031  

My Links

วีธีการทำปุ่ม Shutdown และปุ่ม Restart บน Start Screen บน Windows 8

ก่อนอื่นมาทำดูคำสั่งเกี่ยวปิดเครื่องและรีสตาร์ทเครื่องกันก่อน ไม่ยาก

Menu option

Command

Shut down shutdown.exe /s /t 00
Restart shutdown.exe /r /t 00
Log off shutdown.exe /l
Sleep or Hibernate rundll32.exe powrprof.dll,SetSuspendState
Lock rundll32.exe user32.dll,LockWorkStation
Switch user tsdiscon.exe

เริ่มกันเลย

  1. สร้าง shortcut ขึ้นมา คลิ๊กขวาหน้าจอ เลือก new>shortcut
  2. พิมพ์คำสั่ง shutdown.exe /s /t 00 แล้ว Next
  3. ตั้งชื่อ Shortcut เป็น Shutdown แล้วกด Finish
  4. ก็จะได้ Shortcut ขึ้นมาชื่อว่า Shutdown จากนั้นทำการคลิ๊กขวาไปที่ properties เพื่อเปลี่ยน icon กดเลือก Change Icon
  5. เลือก icon ที่ต้องการ ผมเลือกเป็นปุ่มปิดสีแดง แล้วกด OK
  6. เราก็จะได้ ปุ่ม Shutdown ที่ต้องการ
  7. จากนั้นคลิ๊กขวาที่ shortcut Shutdown นั้น เลือก Pin to Start แค่นี้ก็ได้แล้ว จากนั้นไปดูที่หน้า Start Screen เป็นอันเสร็จสิ้น
  8. จากนั้นกทำปุ่ม restart ก็ทำขึ้นตอนเดียวกัน แต่เปลี่ยน คำสั่งเป็น shutdown.exe /r /t 00 เท่านั้นเอง

ข้อมูลอ้างอิง

Shared on Google+. View the post.
You +1′d this publicly. Undo
Greg Shultz

Dec 17, 2012 – In Windows 8, these options are spread out between the Power Charm and Once you create the Shutdown shortcut, you’ll create the Restart

หลัง update ie flash player for windows8 แล้วเกิดอะไรขึ้น?

Update for Internet Explorer Flash Player for Windows 8 for x64-based Systems (KB2824670)

Installation date: ‎14/‎03/‎2556 4:36

Installation status: Succeeded

Update type: Important

This update addresses the vulnerability discussed in Microsoft Security Advisory (KB2824670). Security issues have been identified that could allow an attacker to compromise a computer running Internet Explorer Flash Player for Windows 8 and gain control over it. You can help protect your computer by installing this update from Microsoft. After you install this item, you may have to restart your computer.

More information: http://go.microsoft.com/fwlink/?LinkId=264959

Help and Support: http://support.microsoft.com

หลังจาก update เสร็จเรียบร้อยแล้ว ผมที่ได้จริงคือ ie10 สามารถใช้ flash ได้แล้วจริงๆ ดูหนังฟังเพลงได้ แต่ที่ทำให้เสียอารมณ์คือ เมื่อฟังวิทยุออนไลน์ ปรากฎว่า เพื่อกลับไปหน้า start ฟังจะหยุด สรุปคือหากออกจากหน้า ie10 เพลงจะหยุดทำงานว่างั้น จำไว้นะท่านผู้อ่าน 555 แล้วผมก็กลับมาใช้บน Desktop เหมือนเดิม อารมณ์เสีย #บ่องตง

แก้ปัญหา Printer พิมพ์ไม่หยุด (งานมันค้าง) ลบยังไงว่ะ

บางที Driver ไม่ตรงกันบ้าง เวอร์ชั่นต่ำไป ใช้กับ Windows ใหม่ๆ ไม่ได้ เมื่อลง driver ใหม่แล้ว test มันก็พิมพ์ไม่หยุด บางทีก็ส่งพิมพ์เกิน ปิดเครื่องคอมพิวเตอร์หรือพริ้นเตอร์ก็แล้วก็ไม่หาย แม่งรำคาญว่ะ วิธีแก้ไขมีดังนี้

  1. ไปที่ Start> Run แล้วพิมพ์คำว่า cmd แล้ว Enter หน้าต่าง DOS ดำๆ ก็จะโผล่ขึ้นมา พิมพ์คำสั่งว่า net stop spooler แล้ว Enter (หรือเข้าไปที่ service แล้วเลือก Print spooler แล้วกด stop)
  2. รอให้เครื่องทำงานตามคำสั่งเสร็จแล้ว ก็ไปที่โฟลเดอร์ C:\Windows\System32\Spool\Printers\
  3. ลบทุกไฟล์ในโฟลเดอร์นี้เลยครับ
  4. กลับมาที่หน้าต่าง DOS พิมพ์คำสั่งว่า net start spooler แล้ว Enter (หรือเข้าไปที่ service แล้วเลือก Print spooler แล้วกด start)

ข้อมูลอ้างอิงจาก http://itnewsblog.exteen.com/20110525/print และ http://iccom.info/2010/04/%E0%B9%80%E0%B8%84%E0%B8%A5%E0%B9%87%E0%B8%94%E0%B9%84%E0%B8%A1%E0%B9%88%E0%B8%A5%E0%B8%B1%E0%B8%9A/%E0%B8%A2%E0%B8%81%E0%B9%80%E0%B8%A5%E0%B8%B4%E0%B8%81%E0%B8%87%E0%B8%B2%E0%B8%99-print-%E0%B9%82%E0%B8%94%E0%B8%A2%E0%B9%84%E0%B8%A1%E0%B9%88%E0%B8%95%E0%B9%89%E0%B8%AD%E0%B8%87%E0%B8%A3%E0%B8%AD/

 

Browser IE ใน Windows8 ที่ีไม่ใช่บน desktop ไม่สามารถใช้ plugin flash ได้

เมื่อใช้ Windows 8 มาสักพัก เริ่มประสบปัญหา คือ ie ใน windows 8 เฉพาะที่ไม่ใช่บน desktop ไม่สามารถใช้ plugin flash ได้ ทำให้ไม่สามารถ เล่น vdo ของ mthai ได้ ไม่สามารถเห็น flash บนเว็บต่างๆ ได้ ขาดความสวยงาม ก็พยายามไปโหลด flash version ใหม่ ก็ไม่สามารถลงได้บนนี้อยู่ดี ยกเว้นบน desktop ใช้ได้ปกติครับ

และการ share ที่ windows 8 คุยไว้ว่าง่ายสะดวก ก็สามารถทำได้เฉพาะ ie บน start เท่านั้น ถ้าใช้ ie บน desktop ไม่สามารถทำได้เหมือนที่คุย รู้สึกแย่นะ ถ้าปรับปรุงให้ใช้ได้ก็คงจะดี

เว็บการท่องเว็บเร็วมาก รู้สึกได้เลยเมื่อเทียบกับ windows 7

Registration E-mail ใน line ไม่ได้

เคยเจอไหมครับเวลา สมัคร E-mail ในไลน์ แล้วไม่ผ่าน ทำเท่าไหร่ก็ไม่ได้ หงุดหงิด จะเล่นไลน์ในเครื่องคอมพิวเตอร์ก็ไม่ได้ ก่ายขนาด วันนี้ผมเจอวิธีแก้ไขแล้ว เริ่มเลยนะครับ

  1. ลบบัญชีส่วนตัว ไปที่ ตั้งค่าในไลน์ครับ แล้วเลือก โปรฟายส่วนตัว ด้านล่าง มีปุ่มลบบัญชี กดไปเลยครับ แล้วกดยืนยันว่าลบ ข้อความเก่า และกลุ่มเพื่อนจะหายไปบางคนครับ กรณีที่ไม่มีเบอร์โทรศัพท์ แต่ถ้ามีอยู่แล้วในเครื่อง ไลน์จะจัดการแอดให้เอง ส่วนคนอื่นไปหาเอาเองภายหลัง
  2. ลบเสร็จก็ลงทะเบียนใหม่ครับ เหมือนสมัครครั้งแรกเลย ทำทุกขั้นตอน (ไม่สอนนะครับ ม้นเบสิกไป) จากนั้นอย่าลืม regist E-mail และ password เลยนะครับ อย่าข้ามขั้นตอนนี้ เดี๋ยวจะพลาดอีก แค่นี้ก็ regist e-mail ในไลน์ได้แล้ว
  3. หากยังไม่ได้อีก ก็เล่นในมือถือเอาละกันนะครับ หมดปัญญาแล้ว

Excel หน้าจอใหญ่ เซลล์ใหญ่เกิน

Excel ช่องเซลล์ใหญ่ไปหมด ชื่อสูตรก็ใหญ่ เพี้ยน ฟอนท์ ก็ไม่ถูก แม่งเครียด วิธีแก้ไข

  1. ปิด excel
  2. ไปที่ run พิมพ์ regedit แล้ว enter
  3. Hkey_current_user\software\microsoft\office\14.0\Excel
  4. คลิ๊กขวา rename เป็นชื่ออื่น เช่น excel old
  5. เปิด excel อีกครั้ง แม่เจ้ากลับมาเหมือนเดิมแล้ว
  6. จบ

ขอบคุณ http://discussions.virtualdr.com/showthread.php?116134-Excel-displaying-VERY-large-fonts!

เขียนโปรแกรมแสดง Status bar ใน Access

First you will need to declare a Variant:

Dim varStatus As Variant

You might also want to declare a String for any text you would like to display:

Dim strStatus As String

You then use this variant to assign any message to the Status bar with the acSysCmdSetStatus  action of the SysCmd function, like so:

strStatus = “The database is searching for the most recent file…”
varStatus = SysCmd(acSysCmdSetStatus, strStatus)

You can also display a progress meter with the acSysCmdInitMeter action, like so:

strStatus = “Importing four XLS files”
varStatus = SysCmd(acSysCmdInitMeter, strStatus, 21)

The value 21 (identified as [Argument3]) determines the 100% value
(There are 20 blocks in the progress meter, but the meter starts with one already filled in, so 21 is an easy value to use, unless you want to use 100 and true percentages values.)

The meter is updated whenever the acSysCmdUpdateMeter action is used, like so:

varStatus = SysCmd(acSysCmdUpdateMeter, 5)

The value 5 represents the amount of the progress meter to fill in.  So here, 5 will fill in 5 blocks, 25% of the progress meter.

Once you have filled in the progress meter (or at any stage) you can either display another text statement, or another progress meter, but if you have finished you must remember to clear the Status bar with the acSysCmdClearStatus action, like so:

varStatus = SysCmd(acSysCmdClearStatus)

 

ขอบคุณแหล่งข้อมูล http://www.tek-tips.com/faqs.cfm?fid=1851

เปรียบเทียบวันที่ใน MSSQL คำสั่ง DATEDIFF()

เปรียบเทียบวันที่ระหว่าง 2 วันที่ เพื่อหาจำนวนวัน

DATEDIFF(datepart,startdate,enddate)

datepart Abbreviation
year yy, yyyy
quarter qq, q
month mm, m
dayofyear dy, y
day dd, d
week wk, ww
weekday dw, w
hour hh
minute mi, n
second ss, s
millisecond ms
microsecond mcs
nanosecond ns

Example

Now we want to get the number of days between two dates.

We use the following SELECT statement:

SELECT DATEDIFF(day,’2008-06-05′,’2008-08-05′) AS DiffDate

Result:

DiffDate
61

Example

Now we want to get the number of days between two dates (notice that the second date is “earlier” than the first date, and will result in a negative number).

We use the following SELECT statement:

SELECT DATEDIFF(day,’2008-08-05′,’2008-06-05′) AS DiffDate

Result:

DiffDate
-61

แหล่งข้อมูล: http://www.w3schools.com/sql/func_datediff.asp และ http://www.ninenik.com/content.php?arti_id=428

กำหนดวันปัจจุบัน DATE() ใน SQL server

หลายคนถนัดการใน now() หรือ date() ใน access บ้างโปรแกรมอื่นบ้าง แต่วิธีการกำหนด ให้บันทึกวันที่และเวลาปัจจุบันเมื่อมีการบันทึกในฐานข้อมูล จะต้องไปกำหนดตั้งแต่การสร้างฐานข้อมูลแรกๆ เลย ยกตัวอย่างเช่น คำสั่งสร้างฐานข้อมูลนี้
create table test (str varchar(32), ts TIMESTAMP DEFAULT CURRENT_TIMESTAMP)
จะเห็นได้ว่าใช้คำว่า CURRENT_TIMESTAMP ตรง default ค่าของ timestamp 
หรือ
ใช้ พิมพ์ (getdate()) ตรง Default value ของ field นั้นก็ได้

เปลี่ยน Font ใน Skype ให้ใหญ่สมใจ

เข้าไปที่

Tools Menu >> Options >> IM&SMS >> IM Appearance >> Change Font.

ภาษาไทย

เครื่องมือ >> ตัวเลือก >> IM & SMS >> ลักษณะที่ปรากฏของ IM >> เปลี่ยนแบบอักษร

ขอบคุณที่มา http://www.thaiseoboard.com/index.php?topic=118147.0