UIImagePickerController, UIImage, Memory and More!

 
ที่มา: stackoverflow.com

Convert Image to Icon

แปลงไฟล์ภาพ ไปเป็น icon มี 2 ตัวอย่าง ดังนี้
 
    /// <summary>
    /// Converts an image into an icon.
    /// </summary>
    /// <param name="img">The image that shall become an icon</param>
    /// <param name="size">The width and height of the icon. Standard
    /// sizes are 16x16, 32x32, 48x48, 64x64.</param>

เขียนสคริปส่ง e-mail ด้วย PHP

form_sendmail.html
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

C# Visual Studio: Change the default icon of your .exe file.

To change the default icon of your .exe file click on : 

  1. ไปที่ Project
  2. คลิ๊กขวาที่ Project เลือก Properties
  3. เลือก Application
  4. ที่ Icon ทำการเลือก icon ที่ต้องการ

 เรียบร้อย
 
หรือจะใช้คำสั่ง ดังนี้
this.Icon = new System.Drawing.Icon("shuttle.ico");
  
ที่มา: normankosmal.comen.csharp-online.net

MDIList property missing?

การสร้างโปรเจ็กส์แบบ MDI 
สิ่งสำคัญอย่างนึงคือการแสดงรายชื่อหน้าต่างย่อยบนเมนู Window ให้เลือกใช้ได้ง่ายๆ โดยการเขียน MDI ด้วย VS2003 ก็ใช้ MainMenu แล้วกำหนดคุณสมบัติ MDIList
แต่ตั้งแต่ VS2005 ไม่มี MainMenu ให้เลือกใช้ (แต่ถ้า Upgrade มาจาก VS2003 ก็ยังใช้ได้) ต้องเลือกใช้ MenuStrip แทน
แต่ MenuStrip ดันไม่มี MDIList property ให้ใช้
ทางแก้ก็ง่ายๆครับ

Access two Gmail accounts at once in the same browser

 To enable multiple sign-in:

  1. Go to the multiple sign-in settings page
  2. Sign in to your account.
  3. Select On to enable the multiple sign-in feature and select the checkboxes to confirm that you understand how to use multiple sign-in. Read more about what you need to understand before using multiple sign-in.
  4. Click Save changes.

 

วิธีการติดตั้ง IIS 7 บน Windows 7

1. Start -> Control Panel จะแสดงหน้าจอของ Control Panel

Microsoft Word 2010 Spacing

How To Modify Spacing Between Paragraphs

It is very easy to change the spacing before or after any particular paragraph or set of paragraphs. Simply select the paragraph(s) for which you are going to change the spacing and click on the Page Layout tab, here find the Paragraph group. Now choose the new spacing values in the form of points here.

Disable automatic login in Mac OS X

1. Open the System Preferences application.
2. Click on the "Accounts" icon in the System Preferences window.
3. Click on the "Login Options" item in the list of accounts on the left side of the "Accounts" System Preferences window.
4. Set the "Automatic login:" option to "Off."
 
ที่มา: rit.edu/

Quad boot

1. ใช้ Disk Utilities จัดเตรียม Partition ดังนี้

  • /dev/hda2 MacOS
  • /dev/hda3 Windows 7
  • /dev/hda4 Windows XP
  • /dev/hda5 Ubuntu
  • /dev/hda6 Swap
Syndicate content