หน้าเว็บ

แสดงบทความที่มีป้ายกำกับ window แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ window แสดงบทความทั้งหมด

วันเสาร์ที่ 9 ตุลาคม พ.ศ. 2553

Get "Too many different cell formats " error message in Exel.

You receive a "Too many different cell formats" error message in Excel

To resolve this problem, simplify the formatting in the workbook. For example, the following are suggestions for simplifying formatting:


  • Use a standard font.

Using the same font for all cells reduces the number of formatting combinations.

  • If you use borders in a worksheet, use them consistently.

NOTE: If you apply a border to the right side of a cell, it is not necessary to apply a border to the left side of the cell that is to the right because the borders overlap.

  • If you apply patterns to the cells, remove the patterns by clicking No Color in the Patterns tab of the Format Cells dialog box.

NOTE: After you simplify or standardize the formatting in the workbook, save, close, and then reopen the workbook before you apply additional cell formatting.
 
 
Or create new file and copy old data to new file. : )
 
 
Thanks:  support.microsoft.com

วันพฤหัสบดีที่ 30 กันยายน พ.ศ. 2553

Turn off AutoComplete name suggesting On Outlook

1.On the Tools menu, click Options.


2.On the Preferences tab, click E-mail Options, and then click Advanced E-mail Options.

3.Clear the Suggest names while completing To, Cc, and Bcc fields check box.
 
 
Thanks : http://office.microsoft.com/

วันศุกร์ที่ 16 กรกฎาคม พ.ศ. 2553

Howto resolve window when CD/DVD optical is disappeared.


วันดีคืนร้าย ไดร์ฟออพติคอล CD/DVD ROM อยู่ๆก็หายไปเฉยๆ

1. ไป START > RUN > พิมพ์ regedit

2. เมื่อเข้า regedit แล้ว หาโฟลเดอร์ HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Control Class {4D36E965-E325 -11CE-BFC1-08002BE10318}

3. เมื่อคลิก {4D36E965-E325 -11CE-BFC1-08002BE10318} ด้านขวามือจะเห็น "Upperfilters" "Lowerfilters" ลบทั้งสองค่าออก ปิด regedit แล้วรีสตาร์ทเครื่อง

วันอาทิตย์ที่ 11 กรกฎาคม พ.ศ. 2553

How to Restore Window with Norton Ghost

การนำข้อมูลที่เก็บไว้มาใช้งานใหม่หรือที่เรียกว่า Restore
หลังจากนี้ หากวันดีคืนดี Windows มีอันต้องเป็นไปด้วยเหตุผลใดก็ตาม หากเราต้องการที่จะนำเอาข้อมูลและโปรแกรมต่าง ๆ ที่ได้ทำการสำรองเก็บไว้ออกมาใช้เหมือนเดิม วิธีการก็จะคล้าย ๆ กันคือ เรียกโปรแกรม Norton Ghost ก่อน (จาก MS-DOS mode นะครับ)
-ในการนำข้อมูลกลับมา หลังจากเรียกโปรแกรมแล้ว ให้เลือกที่เมนู Local >> Partition >> From Image คือเป็นการนำเอา Image file มาใส่ลงใน Partition นั่นเอง
-เลือกไฟล์ที่ต้องการจะนำข้อมูลมาใช้งาน แล้วเลือกกดที่ Open 
-เลือก Partition ของข้อมูลที่อยู่ใน Image file และกด OK
-เลือกฮาร์ดดิสก์ที่จะใส่ข้อมูลจาก Image file ควรระมัดระวัง Drive ให้ถูกต้องด้วยนะครับถ้ามีฮาร์ดดิสก์หลายตัว
-ถ้าหากฮาร์ดดิสก์ที่เลือกใส่ข้อมูลกลับลงไปมีหลายพาร์ติชัน ให้ทำการเลือก Partition ที่ต้องการ เช่น Drive C: ก็คือ Partition ที่ 1 นั่นเอง กดที่ OK
-โปรแกรมจะมีการถามเพื่อยืนยันการทำงานอีกครั้ง หากมั่นใจว่าไม่มีอะไรใส่ผิดก็กดที่ Yes เพื่อเริ่มต้นการนำข้อมูลจาก Image file มาใส่ลงใน Partition ได้เลยครับ หลังจากที่โปรแกรมทำการก็อปปี้เสร็จเรียบร้อยแล้ว ในกรณีเช่นนี้จะต้องทำการ Restart Computer ใหม่เสมอ หากไม่มีอะไรผิดพลาด เราก็จะได้ Windows ตัวเดิมเมื่อครั้งที่ยังไม่มีปัญหากลับคืนมาเหมือนเดิมครับ


ข้อควรระวังอย่างมากคือ การเลือก Drive และ Partition เพราะหากทำผิด Partition อาจจะทำให้ข้อมูลต่าง ๆ หายได้ ดังนั้น ก่อนที่จะทำ ควรจะทำการสำรองข้อมูลที่สำคัญมาก ๆ เก็บไว้ก่อน เพื่อความปลอดภัยของข้อมูลนะครับ




******************************


Norton Ghost can help you to Back up Window.

Norton Ghost โปรแกรมช่วย แบคอัพฮาร์ดดิสก์ เก็บไว้เผื่อยามฉุกเฉิน
ครั้งหนึ่ง สมัยที่ผมเองหัดใช้งาน Windows ช่วงแรก ๆ ก็ซนพอสมควร มีการลองของคือ ทดลองลงโปรแกรมต่าง ๆ เดี๋ยวใส่ เดี๋ยวเอาออก ไม่นานเท่าไรนัก Windows ตัวเก่งก็เพี้ยนไปเลย ต้องมาลง Windows ใหม่อีก เรียกได้ว่าต้องลง Windows ใหม่ทุกสัปดาห์เลยก็ว่าได้ เป็นอย่างนี้อยู่ค่อนข้างนานพอสมควร ในสมัยนั้นผมเองก็คิดหาวิธีที่จะทำการ copy ตัวซอฟต์แวร์ต่าง ๆ เก็บไว้เป็นแบคอัพสำรองเอาไว้ เพื่อที่เวลามีปัญหา จะได้นำเอาไฟล์ที่ทำแบคอัพนั้นมาใช้งาน จนกระทั่งมาพบกับโปรแกรม Norton Ghost ที่มีความสามารถเก็บข้อมูลทั้งหมดใน พาร์ติชันของฮาร์ดดิสก์ ไว้ได้แบบที่เรียกว่า ทุกกระเบียดนิ้วเลยทีเดียว อีกทั้งตัวโปรแกรมก็ทำงานบน DOS ซึ่งเป็นการทำงานที่ง่าย ๆ ไม่ยุ่งยาก และสามารถทำงานหลังจากที่ทำการ ฟอร์แม็ต ฮาร์ดดิสก์ ได้ทันที ใช้เวลาในการทำ แบคอัพ และนำกลับคืนไม่นานมากนัก ดังนั้น จึงขอแนะนำให้ท่านที่มีฮาร์ดดิสก์ ที่มีพื้นที่เหลือมากพอ หลังจากที่ทำการลง Windows ใหม่และติดตั้งซอฟต์แวร์ต่าง ๆ เรียบร้อยแล้ว ทำการเก็บแบคอัพข้อมูลและ Windows เก็บไว้ ครั้งต่อไป หากมีปัญหาที่ตัว Windows ก็จะได้ไม่ต้องมาทำการลงโปรแกรมใหม่ทั้งหมดครับก่อนอื่น ต้องหาโปรแกรม Norton Ghost นี้มาใช้งานกันก่อน ลองดูจาก http://www.symantec.com/ นะครับ โปรแกรมจะมีขนาดไม่ใหญ่มากนัก หลังจากดาวน์โหลดมาแล้วก็ให้ทำการ unzip และเขียนไฟล์ ใส่แผ่นดิสก์ไว้ก่อน จากนั้น จะบูตเครื่องจากแผ่นดิสก์ที่ได้นี้ หรือจะ copy เฉพาะไฟล์ ghost.exe เก็บไว้ใน โฟล์เดอร์ต่างหาก เพื่อที่จะใช้งานโดยตรงเลยก็ได้


ทำความเข้าใจกับฮาร์ดดิสก์ในเบื้องต้นก่อน
ก่อนการใช้งาน Norton Ghost อยากจะให้ทำความเข้าใจ ระบบการเก็บข้อมูลและการแบ่งพาร์ติชันของฮาร์ดดิสก์ กันก่อน เพราะตรงนี้ถือเป็นสิ่งที่สำคัญมาก ๆ หากเราไม่เข้าใจและทำโดยใส่ไดร์ฟหรือพาร์ติชันผิด ข้อมูลต่าง ๆ อาจจะหายไปทั้งหมดเลยก็ได้ ดังนั้น ขอให้พยายามศึกษาคำว่า Drive และ Partition ให้เข้าใจจริง ๆ ก่อน
Drive ในที่นี้หมายถึง ตัวฮาร์ดดิสก์ คือ ในคอมพิวเตอร์ 1 เครื่องสามารถที่จะทำการติดตั้ง ไดร์ฟต่าง ๆ ได้หลาย ๆ ตัวเช่น Drive A: คือฟลอปปี้ดิสก์ Drive C: คือฮาร์ดดิสก์ตัวแรก ส่วน Drive D: คือซีดีรอม เป็นต้น สำหรับกรณีของฮาร์ดดิสก์ จะมีพิเศษกว่านั้น คือเราสามารถทำการแบ่งฮาร์ดดิสก์ 1 ตัวให้เป็นหลาย ๆ ไดร์ฟได้ เช่น ฮาร์ดดิสก์ 1 ตัวแต่ถูกแบ่งออกเป็น Drive C: และ Drive D: โดยที่ซีดีรอม ก็จะกำหนดให้เป็น Drive E: แทนเป็นต้น
Partition ก็คือการแบ่งพื้นที่ของฮาร์ดดิสก์ ออกเป็นหลาย ๆ ไดร์ฟ หรือเรียกว่าการแบ่งเป็นหลาย ๆ Partition นั่นเอง จากตัวอย่างข้างบน คือ เราสามารถที่จะแบ่งฮาร์ดดิสก์ 1 ตัวออกเป็นได้หลาย ๆ พาร์ติชัน หรือแบ่งออกเป็นหลาย ๆ ไดร์ฟนั่นเอง ทีนี้ ลองสำรวจเครื่องคอมพิวเตอร์ที่ใช้งานอยู่กันก่อน ว่ามีฮาร์ดดิสก์ติดตั้งอยู่กี่ตัว และมีการแบ่งการใช้งานหรือแบ่งพาร์ติชัน ต่าง ๆ ออกเป็นอย่างไรบ้าง อย่างเช่นฮาร์ดดิสก์ของเครื่องที่ผมใช้งาน มี 1 ตัวแต่แบ่งออกเป็น 2 พาร์ติชัน ดังนั้น ในระบบ Windows เครื่องผมก็จะมองเห็นว่ามีไดร์ฟ C: กับ D: เป็นฮาร์ดดิสก์ ส่วนซีดีรอม ก็จะเป็นไดร์ฟ E: แทน ที่ต้องให้ทำความเข้าใจกับเรื่อง Drive และ Partition ตรงนี้ก่อน ก็เพราะว่า ในการใช้งาน Norton Ghost จะต้องมีการอ้างถึงสองคำนี้ และเพื่อเป็นการป้องกัน การผิดพลาดที่อาจจะเกิดขึ้นได้ จากการใส่หรือระบุ Drive หรือ Partition ผิดครับ



ฮาร์ดดิสก์ที่จะทำแบคอัพได้ ต้องเป็นอย่างไร
จากที่ได้บอกแล้วว่า การใช้งาน Norton Ghost นี้จะเป็นการทำสำรองหรือแบคอัพข้อมูลทั้งพาร์ติชัน ของฮาร์ดดิสก์ ดังนั้น ฮาร์ดดิสก์หรือคอมพิวเตอร์ที่จะทำการแบคอัพแบบนี้ได้ จะต้องมีการแบ่งพาร์ติชัน ออกเป็นอย่างน้อย 2 พาร์ติชัน หรือจะต้องมีไดร์ฟ อยู่ในเครื่องอย่างน้อย 2 ไดร์ฟนั่นเอง ด้วยเหตุผลง่าย ๆ ก็คือ เราจะทำการเก็บทุกอย่างใน Drive C: นำเอาไปเก็บไว้ใน Drive D: เพื่อที่จะได้ทำการฟอร์แมต Drive C: ได้ หลังจากนั้น ก็ทำการนำข้อมูลที่ถูกเก็บไว้ใน Drive D: มาใส่คืนใน Drive C: ใหม่ หรือที่เรียกว่าการ Restore นั่นเอง ดังนั้น หากใครมีฮาร์ดดิสก์แค่เพียง Drive C: ตัวเดียว คงจะต้องเริ่มต้นวางแผน การจัดแบ่งพาร์ติชันของฮาร์ดดิสก์ กันใหม่ก่อนนะครับ อย่างน้อยที่สุดก็ควรที่จะแบ่งออกเป็น 2 ไดร์ฟ เพื่อใช้สำหรับลง Windows ไดร์ฟหนึ่ง และอีกไดร์ฟที่เหลือก็สำหรับเก็บข้อมูลและไฟล์ที่จะทำแบคอัพด้วย Norton Ghost ด้วย หากเครื่องใครที่คิดว่าพร้อมแล้ว ก็เริ่มต้นทดลองใช้งานกันได้เลย
เริ่มต้นเรียกใช้งานโปรแกรม Norton Ghost
หลังจากที่หา ดาวน์โหลด มาแล้วก็ทำการ unzip และเก็บไว้ในโฟลเดอร์ที่สร้างขึ้นมาใหม่ จะได้ไฟล์ GHOST.EXE ซึ่งในการใช้งาน จะต้องทำใน MS-DOS Mode เท่านั้น วิธีการเข้า DOS Mode ทำได้โดยการสั่ง Shutdown และเลือกที่ Restart in MS-DOS mode หรือเมื่อบูทเครื่องใหม่ กดปุ่ม F8 ค้างไว้และเลือกที่ MS-DOS mode หรือจะเป็นการบูทเครื่องจากแผ่น Startup Disk Windows 98 ก็ได้ หลังจากเข้า MS-DOS mode แล้วก็ใช้คำสั่งเปลี่ยนโฟลเดอร์ไปที่ ๆ เก็บโปรแกรม Norton Ghost เรียก ghost และกด Enter จะมีโลโก้ของโปรแกรม กดที่ปุ่ม OK เพื่อเริ่มต้นการใช้งาน



การทำแบคอัพหรือทำสำเนาฮาร์ดดิสก์เก็บไว้
ขั้นตอนแรก คือการทำแบคอัพเก็บไว้ก่อน โดยการเรียกโปรแกรม Norton Ghost และกดที่ OK เพื่อเริ่มต้นการทำงาน จะเห็นเป็นเมนูต่างๆ ให้เลือก

-ในการทำแบคอัพเก็บข้อมูล หลังจากเรียกโปรแกรมแล้ว ให้เลือกที่เมนู Local >> Partition >> To Image (ใช้ปุ่มลูกศรซ้ายขวา และกด Enter เพื่อเลือก) คือเป็นการสั่งให้ทำกับ Partition ให้สร้างเป็น Image ไฟล์เพื่อเก็บไว้ใช้งาน (Image คือไฟล์แบคอัพ ที่จะเก็บข้อมูลทั้งหมดของฮาร์ดดิสก์ครับ) กดปุ่ม Enter เพื่อเลือกการทำ Partition to Image ครับ
-ทำการเลือก Drive ที่ต้องการจะทำแบคอัพสำรองข้อมูล คือ Drive ที่ 1 นั่นเอง (ตัวอย่างนี้มีฮาร์ดดิสก์ 1 ตัวในเครื่องนี้) ใช้ปุ่ม Tab เพื่อเลื่อนปุ่มไปที่ OK และกด Enter (กดที่ปุ่ม Tab ไปเรื่อย ๆ เพื่อเปลี่ยนตำแหน่งของการกดปุ่มได้)
-จากนั้นทำการเลือก Partition ของ Drive ที่ต้องการจะทำแบคอัพ เช่นในที่นี้มีอยู่ 2 partition (คือ C: กับ D: นั่นเอง) ให้เลือกที่ Partition 1 คือ Drive C: และเลือกที่ OK (โดยกดปุ่ม Tab สำหรับเปลี่ยนตำแหน่งการกดปุ่มนะครับ)
-จากนั้น เลือกชื่อไฟล์ของ Image file ที่จะเก็บเป็นข้อมูลไว้ เช่น win98th หรืออะไรก็ได้ กดที่ Open เพื่อทำงานต่อไป
-โปรแกรมจะมีการถามถึงระดับของการบีบอัดข้อมูล เลือกที่ Fast ครับ
-โปรแกรมจะถามยืนยันอีกครั้ง ก็กดที่ Yes เพื่อเริ่มต้นทำการแบคอัพทันที
-ภาพตัวอย่างขณะที่โปรแกรมกำลังทำการก็อปปี้หรือทำแบคอัพครับ รอจนจบก็เป็นอันเสร็จขั้นตอนการแบคอัพแล้ว ซึ่งเราจะได้ไฟล์ window.gho หรือชื่อไฟล์ตามที่เราตั้งไว้ ที่มีขนาดใหญ่มาก ๆ เก็บสำรองไว้







Thanks : symantec.com
*********************************

Why Computer Hang?

ปัญหาเกี่ยวกับคอมพิวเตอร์ Hang ส่วนใหญ่ เกิดจากอะไรบ้าง
     ส่วนใหญ่ของปัญหาเครื่องคอมพิวเตอร์ค้างก็มีได้มากมาย แต่สาเหตุหลัก ๆ ก็ขอรวบรวมมาไว้ตรงนี้
     1.
การไม่เข้ากันของอุปกรณ์ต่าง ๆ เช่นเมนบอร์ดกับการ์ดจอ หรือการ์ดเสียง
     2.
การต่อสายไฟ สายส่งข้อมูลต่าง ๆ หลวมหรือต่อไว้ไม่แน่นดีพอ
     3.
การเสียบแรม ขั้วต่อสาย หรือ การ์ด ต่าง ๆ หลวมหรือไม่แน่น
     4.
ความสกปรกของจุดสัมผัสของอุปกรณ์ เช่นขาของแรม ขั้วต่อของการ์ดต่าง ๆ ในเครื่อง
     5.
ฮาร์ดดิสก์ เริ่มมีปัญหา หรือใกล้จะเสีย
     6.
ระบบไฟ หรือระบบจ่ายไฟไม่ดีพอ เช่นไฟตกบ่อย ๆ หรือชุดจ่ายไฟไม่ดี
     7.
การลงโปรแกรมไม่สมบูรณ์ หรือมีปัญหากับซอฟต์แวร์บางตัว
     8.
ความร้อนของ ซีพียู พัดลมของ ซีพียู ตรวจสอบว่ายังทำงานได้ปกติหรือไม่
     9.
ก่อนที่จะเกิดปัญหา ได้มีการทำอะไรบ้าง เช่นลงโปรแกรมเพิ่ม หรือเพิ่มการ์ดในเครื่อง นั่นอาจจะเป็นสาเหตุหลักก็ได้

วันศุกร์ที่ 2 กรกฎาคม พ.ศ. 2553

How to use windows 32bit with memory 4GB

ระบบปฏิบัติการที่ใช้เป็น Windows Vista รุ่น 32 บิท ซึ่งมันจะมองเห็นหน่วยความจำระบบได้ไม่เกิน 4GB ข้อเท็จจริงก็คือ มันจะมองเห็น 3.3GB เท่านั้น ทำให้ผู้บริโภคที่เป็นเจ้าของเครื่องที่มีแรม 4GB รู้สึกขาดทุนกับหน่วยความจำที่ไม่ถูกใช้งานประมาณ 700MB

แต่ก่อนจะรู้สึกเซ็งกับเหตุการณ์ที่เกิดขึ้น มีคำแนะนำให้ 2 ทางด้วยกันคือ วิธีแรกอัพเกรดไปใช้ Windows Vista 64 bit ที่สามารถมองเห็นหน่วยความจำได้สูงสุดถึง 128GB ขึ้นไป (สำหรับเวอร์ชันสูงๆ แต่ถ้าเป็น Home Basic ก็ 8GB เท่านั้น) ส่วนอีกวิธีหนึ่งก็คือ ตรวจสอบ CPU ของเครื่องว่ามีโหมดการทำงาน 64-bit compatible หรือเปล่า? ซึงหากตรวจสอบพบว่า มีโหมดการทำงานนี้อยู่ คุณสามารถเปิดค่าการทำงานให้ระบบมองเห็นหน่วยความจำ 4GB ได้ แม้จะใช้ Windows Vista 32-bit ก็ตาม

ขั้นแรก: ตรวจสอบซีพียูที่ใช้ด้วยการดาวน์โหลดฟรีแวร์ CPU-Z 1.54 Setup (English) มาติดตั้งแล้วรันโปรแกรมขึ้นมา มองหาบรรทัดที่เขียนว่า Instructions ในกรณีที่เป็นซีพียูของ Intel ให้สังเกตข้อความในกล่องข้อความว่ามีคำว่า EMT64T หรือไม่? แต่ถ้าเป็น AMD ให้สังเกตคำว่า x86-x64 ถ้าพบว่ามี โชคก็เข้าข้างคุณแล้ว


ขั้นที่สอง: คราวนี้เราจะมาเซ็ตอัพให้ซีพียูมองเห็นหน่วยความจำแบบ 64 บิทก็คือ สามารถมองเห็นได้มากกว่า 4GB โดยสั่งเปิด (Enable) คุณสมบัติการทำงานทีมีชื่อว่า PAE (Physical Address Extension) ซึ่งมันจะทำให้ระบบปฏิบัติการ Windows 32 บิท สามารถมองเห็นแอดเดรสหน่วยความจำ 4GB ได้ ขั้นตอนการเปิดการทำงานมีดังนี้

  1. ในช่อง Search บนปุ่ม Start พิมพ์คำสั่ง cmd
  2. คลิกขวาบนรายการ cmd ที่เสิร์ชพบ เลือกคำสั่ง Run as ministrator
  3. พิมพ์คำสั่ง bcdedit /set pae forceenable แล้วกดปุ่ม Enter




หากการทำงานทุกอย่างถูกต้องระบบจะแจ้งว่า The operation completed successfully จากนั้นลองตรวจสอบด้วยการคลิกขวาบนรายการ Computer ในเมนู Start เลือกคำสั่ง Properties ระบบแจ้งว่า มีหน่วยความจำ 4GB แล้ว



หมายเหตุ: การเปิดการทำงานของ PAE อาจทำให้เครืองทำงานช้าลงเล็กน้อย เนื่องจากมันมีการเพิ่มรอบการอ้างแอดเดรสหน่วยความจำขึ้นมา ซึ่งหากคุณไม่พอใจตรงจุดนี้ ก็สามารถสั่งปิดการทำงานได้ด้วยคำสั่งในหน้าต่าง cmd ดังนี้

  1. bcdedit /set nx alwaysoff
  2. bcdedit /set pae forcedisable


แล้วรีสตาร์การทำงานของระบบ เป็นอันยกเลิกเรียบร้อย อย่างไรก็ตาม ข้อควรทราบอีกประการหนึ่งก็คือ การยกเลิก PAE จะมีการยกเลิก DEP (Data Execution Prevention) ที่ Windows ใช้ในการป้องกันมัลแวร์เข้าถึงหน่วยความจำระบบด้วย หากฮาร์ดแวร์ของคุณสนับสนุนการทำงานของ DEP ด้วย ก็ควรจะเปิดการทำงานนี้ เพื่อความปลอดภัย

วันพุธที่ 9 มิถุนายน พ.ศ. 2553

Window has Blue screen 0x0000007B

Stop 0x0000007B or INACCESSIBLE_BOOT_DEVICE

The Stop 0x7B message indicates that Windows XP has lost access to the system partition or boot volume during the startup process. Installing incorrect device drivers when installing or upgrading storage adapter hardware typically causes stop 0x7B errors. Stop 0x7B errors could also indicate possible virus infection.

The second parameter is very important because it can indicate whether the 0x7B Stop message was caused by file system issues or problems with storage hardware and drivers. Values of 0xC000034 or 0xC000000E typically indicate:

• Disks or storage controllers that are failing, defective, or improperly configured.

• Storage-related drivers or programs (tape management software, for example) that are not fully compatible with Windows XP Professional.

Possible Resolutions:

• During I/O system initialization, the controller or driver for the startup device (typically the hard disk) might have failed to initialize the necessary hardware. File system initialization might have failed because of disk or controller failure, or because the file system did not recognize the data on the boot device.

• Repartitioning disks, adding new disks, or upgrading to a new disk controller might cause the information in the Boot.ini file, or Boot Manager, to become outdated. If this Stop message occurs after installing new disks to your system, edit the Boot.ini file or adjust the Boot Manager parameters to allow the system to start. If the error occurs after upgrading the disk controller, verify that the new hardware is functioning and correctly configured.

• Verify that the system firmware and disk controller BIOS settings are correct and that the storage device was properly installed. If you are unsure, consult your computer's documentation about restoring default firmware settings or configuring your system to auto-detect settings. If the error occurs during Windows XP Professional setup, the problem might be due to unsupported disk controller hardware. In some cases, drivers for new hardware are not in the Windows XP Professional Driver.cab library, and you need to provide additional drivers to complete the Windows XP setup successfully. If this is the case, follow the hardware manufacturer's instructions when installing drivers. Periodically check for driver and firmware updates.

• Hard disk corruption can also cause this Stop message. For more information about checking hard disk integrity, see the instructions provided in "Stop 0x00000024 or NTFS_FILE_SYSTEM" earlier in this list.

• Problems that cause 0x7B errors might also cause Stop 0xED errors. For more information about 0xED Stop messages, see "Stop 0x0000007B or INACCESSIBLE_BOOT_DEVICE" later in this list.

Thanks : www.geekstogo.com

วันเสาร์ที่ 29 พฤษภาคม พ.ศ. 2553

Tips for Window Computer

1. ในขณะที่คุณกำลังจะ Restart เครื่องใหม่ ก่อนที่จะกดปุ่ม OK ให้คุณกด Shift ค้างไว้ จะทำให้คุณ Restart ได้เร็วขึ้น

2. ในบาง Web Site หากคุณกด Ctrl ค้างไว้ และเลื่อน Scroll ที่ Mouse จะทำให้ตัวอักษรของ Web Site นั้นใหญ่ขึ้น

3. หากกดปุ่ม Refresh หรือ F5 แล้วยังเป็นข้อมูลเดิม ลองกด Ctrl + F5 รับรองจะได้ข้อมูลที่ใหม่ล่าสุดแน่ๆ

4. คุณสามารถเปิดไฟล์ Tips.txt ขึ้นมาเพื่ออ่านเทคนิคต่างๆ ได้ ซึ่งไฟล์นี้จะอยู่ใน c:\\windows ของคุณ

5. ในระหว่างที่คุณกำหลังใช้งาน IE อยู่นั้น สามารถกดปุ่ม F4 เพื่อเป็นการเปิดดู URL List ในช่อง Address ได้เลย

6. การกดปุ่ม Esc ระหว่างการใช้ IE จะทำให้ IE ของคุณนั้นหยุดโหลดได้ โดยที่ไม่ต้องกดปุ่ม Stop

7. ระหว่างการใช้ IE สามารถกดปุ่ม Alt + D หรือ Ctrl + Tab เพื่อเข้า Address bar อย่างเร็วได้

8. คุณสามารถเพิ่มความเร็วให้กับ Internet ได้โดยทำการถอดสายเครื่องโทรศัพท์ ที่มีการต่อพ่วงอยู่กับสายที่ใช้ต่อInternet ออก

9. คุณสามารถ ไปที่ Start -> Run และพิมพ์ว่า welcome กด Enter เพื่อเปิดหน้าต่างต้อนรับของ Windowsได้

10. ที่ Notepad หรือ ICQ หากคุณลืมเปลี่ยน Mode ภาษา ให้กดปุ่ม Ctrl + Back Space เพื่อแก้คำที่พิมพ์ผิดไปแล้ว

11. คุณสามารถ เปิด Folder Desktop อย่างรวดเร็ว โดย Start -> Run พิมพ์จุด (.) ลงไปแล้วกด Enter

12. ใน IE สามารถกด Space Bar เพื่อนเลื่อนหน้า Page ลงได้ ส่วนเลื่อนขึ้นคือ Shift + Space Bar

13. ใน Windows คุณไม่สามารถ สร้าง Folder ที่ชื่อ \"con\" ได้

14. ใน IE ที่ช่อง Address ปุ่ม Ctrl+Enter สามารถช่วยคุณ
ในการพิมพ์ URL ได้เร็วยิ่งขึ้น

15. การกด Ctrl ค้างเอาไว้ ตอนเวลา BOOT เครื่อง จะทำให้คุณไม่พลาด Startup Menu

16. คุณสามารถปิดนาฬิกาที่ Taskbar ได้ โดยคลิกขวาที่ Task bar > Properties > เอาเครื่องหมาย Show Click ออก

17. หากคุณกด F11 ใน Windows Explorer จะช่วยให้มีการทำงานที่สะดวกขึ้น

18. ใน ICQ การส่ง Message หากคุณกด Ctrl+Enter จะสะดวก กว่าการ Click Mouse ที่ปุ่ม send

19. คุณสามารถกด F2 เพื่อ ใช้ในการเปลี่ยนชื่อ Icon ต่างๆ ได้

20. การกด F5 ใน NotePad จะเป็นการแทรก เวลา และวันที่ ปัจจุบัน

21. การกด Windows + E จะเป็นเปิด Windows Explorer ขึ้นมา

22. เปิด System Properties อย่างรวดเร็วคือการกด Window + Pause Break

23. การย่อยทุกๆ หน้าต่างที่เปิดใช้งาน ให้ยุบไปให้หมด คือการกด Window + D ถ้าจะขยายคืนมาอีก ให้กดซ้ำ

24. การเคาะวรรคในโปรแกรม Dreamweaver คือ Shift + Ctrl + Space Bar ส่วนการเว้นบรรทัดคือ Shift + Enter

25. การลบไฟล์แบบ ไม่เก็บไว้ใน Recycle Bin คือการกด Shift + Delete

26. การกด Shift ค้างไว้ เวลาใส่แผ่น CD-Rom จะเป็นการไม่ให้มันเปิด Autorun ของแผ่น CD-Rom นั้นขึ้นมา

27. การ Restart เครื่องอย่างเร็ว คือไปที่ Start -> Shut Down... -> Restart จากนั้น ก่อนที่จะ OK ให้กดShift ค้างเอาไว้

28. ในระหว่างใช้ Browser คุณสามารถกดปุ่ม Space Bar เพื่อเลื่อนหน้าลง และ Shift + Space Bar เพื่อนเลื่อนหน้าขึ้นได้

29. กด Shift + คลิก จะเป็นการเปิดหน้าต่างขึ้นมาใหม่ โดยไม่ต้อง back กลับ

30. คุณสามารถ ไปที่ Start -> Run และพิมพ์ว่า hwinfo /ui กด Enter เพื่อดูรายงานต่างๆ ของ HardWare

ทิปจาก ดร.หมี

วันอาทิตย์ที่ 16 พฤษภาคม พ.ศ. 2553

Howto resolve window when Windows Error Recovery

Windows 7 ซึ่งเกิดมีปัญหาที่ทำให้ไม่สามารถใช้งานได้ ไม่ว่าจะด้วยสาเหตุอะไร หรือเนื่องจาก

โดนไวรัสกัดกินไฟล์ระบบ ในการบูตเครื่องครั้งต่อไปก็อาจจะเจอกับหน้าจอนี้ได้





สำหรับหน้าต่าง Windows Error Recovery นี้ ไม่ว่าเราจะกด Enter เพื่อบูตเข้าใช้งาน Windows สักกี่ครั้ง ก็จะกลับมาที่หน้านี้เหมือนเดิม



วิธีการแก้ไขสามารถทำได้ไม่ยากครับ เพียงแค่ดาวน์โหลดไฟล์อิมเมจ Windows 7 Recovery Disc ซึ่งเป็นไฟล์ .ISO มาเขียนลงแผ่น CD/DVD

เลือกดาวน์โหลดตามระบบปฏิบัติการที่ท่านใช้อยู่

Download Windows 7 Recovery Disc (32-bit)

Download Windows 7 Recovery Disc (64-bit)

แล้วบูตเครื่องเข้าใช้งาน Windows 7 Recovery Disc โดยเรียกใช้งานเมนูลัดหลังจากเปิดเครื่องโดยกด

F8 สำหรับเมนบอร์ด Asus แล้วเลือก CD/DVD

F11 สำหรับเมนบอร์ด ECS, Asrock แล้วเลือก CD/DVD

F12 สำหรับเมนบอร์ด Gigabyte แล้วเลือก CD/DVD

แล้วจะพบกับหน้าจอโปรแกรม แล้วเลือกไดรว์ที่ได้ติดตั้งระบบ Windows 7 เอาไว้ แล้วคลิก Next



ตรงนี้จะใช้เวลานานสักหน่อยนะครับ ให้รอด้วยความใจเย็นกันสักนิด เพราะระบบจะทำการค้นหาไฟล์ระบบที่เสียหายและทำการซ่อมแซมให้โดยอัตโนมัติ



กด Finish ก็เป็นอันเสร็จเรียบร้อย หลังจากนี้ก็รีบูตเข้าใช้งาน Windows ตัวโปรดได้ตามปกติเหมือนเดิมแล้ว


Thanks : varietypc.net/

วันพุธที่ 7 เมษายน พ.ศ. 2553

When excel has Error Message "PivotTable Field Name Is Not Valid"

Error Message

"The PivotTable field name is not valid. To create a PivotTable, you must use data that is organized as a list with labeled columns. If you are changing the name of a PivotTable field, you must type a new name for the field."

To resolve this problem,

Method 1
Modify the first row so that it does not contain any empty cells.


Method 2
Change the range the PivotTable references to a range where the first row does not contain empty cells. To change or to determine the range an existing PivotTable references.

Thanks : support.microsoft.com

วันอังคารที่ 23 มีนาคม พ.ศ. 2553

Howto Change password on window with cmd


คำสั่ง net user เป็นคำสั่งแบบ Command-line ใช้จัดการ user account เช่น การเพิ่มผู้ใช้ (Add User), ลบผู้ใช้ (Delete User), และการเปลี่ยนรหัสผ่าน เป็นต้น


Syntax
net user [UserName [Password | *] [Options]] [/domain]
net user [UserName {Password | *} /add [Options] [/domain]]
net user [UserName [/delete] [/domain]]


Example

net user user password /add ===> Add user

net user user /delete ===> Delete user

net user user newpassword ===> Change password

net user user ===> Get information


วันศุกร์ที่ 12 กุมภาพันธ์ พ.ศ. 2553

How can I add a printer from the command line?

Run server properties:

rundll32 printui.dll,PrintUIEntry /s /t1 /n\\machine
Run printer properties:

rundll32 printui.dll,PrintUIEntry /p /n\\machine\printer
Run add printer wizard localy:

rundll32 printui.dll,PrintUIEntry /il
Run add printer wizard on \\machine:

rundll32 printui.dll,PrintUIEntry /il /c\\machine
Run queue view:

rundll32 printui.dll,PrintUIEntry /o /n\\machine\printer
Run inf install:

rundll32 printui.dll,PrintUIEntry /if /b "Test Printer" /f %windir%\inf\ntprint.inf /r "lpt1:" /m "AGFA-AccuSet v52.3"
Run add printer wizard using inf:

rundll32 printui.dll,PrintUIEntry /ii /f %windir%\inf\ntprint.inf
Add per machine printer connection:

rundll32 printui.dll,PrintUIEntry /ga /c\\machine /n\\machine\printer /j"LanMan Print Services"
Delete per machine printer connection:

rundll32 printui.dll,PrintUIEntry /gd /c\\machine /n\\machine\printer
Enumerate per machine printer connections:

rundll32 printui.dll,PrintUIEntry /ge /c\\machine
Add printer driver using inf:

rundll32 printui.dll,PrintUIEntry /ia /c\\machine /m "AGFA-AccuSet v52.3" /h "Intel" /v "Windows 2000" /f %windir%\inf\ntprint.inf
Remove printer driver:

rundll32 printui.dll,PrintUIEntry /dd /c\\machine /m "AGFA-AccuSet v52.3" /h "Intel" /v "Windows 2000"
Set printer as default:

rundll32 printui.dll,PrintUIEntry /y /n "printer"
Set printer comment:

rundll32 printui.dll,PrintUIEntry /Xs /n "printer" comment "My Cool Printer"
Get printer settings:

rundll32 printui.dll,PrintUIEntry /Xg /n "printer"
Get printer settings saving results in a file:

rundll32 printui.dll,PrintUIEntry /f "results.txt" /Xg /n "printer"
Set printer settings command usage:

rundll32 printui.dll,PrintUIEntry /Xs /n "printer" ?
Store all printer settings into a file:

rundll32 printui.dll,PrintUIEntry /Ss /n "printer" /a "file.dat"
Restore all printer settings from a file:

rundll32 printui.dll,PrintUI /Sr /n "printer" /a "file.dat"
Store printer information on level 2 into a file :

rundll32 printui.dll,PrintUIEntry /Ss /n "printer" /a "file.dat" 2
Restore from a file printer security descriptor:

rundll32 printui.dll,PrintUIEntry /Sr /n "printer" /a "file.dat" s
Restore from a file printer global devmode and printer data:

rundll32 printui.dll,PrintUIEntry /Sr /n "printer" /a "file.dat" g d
Restore from a file minimum settings and resolve port name:

rundll32 printui.dll,PrintUIEntry /Sr /n "printer" /a "file.dat" m p


Thanks : windowsitpro.com

วันจันทร์ที่ 1 กุมภาพันธ์ พ.ศ. 2553

Data functions on Excel

There are a number of date functions available in Excel. Depending on your needs, you can use a date function in Excel to return the current date, the current time, or the day of the week. This article covers using the most commonly used date functions used in Excel: =TODAY() and =NOW()

=TODAY()


This function returns the current date. To display the date in a different format than the default:

1.Click on Format > Cells in the menus to bring up the Format Cells dialog box.
2.Click on the Number tab.
3.Select Date in the Category window.
4.Pick from the available formats in the Type window.

=NOW()


This function returns both the current date and time. To change the display to show just the date, follow the steps for the =TODAY() function above.


To change the display to show just the time:

1.Click on Format > Cells in the menus to bring up the Format Cells dialog box.
2.Click on the Number tab.
3.Select Time in the Category window.
4.Pick from the available formats in the Type window.


Thanks : about.com

วันอังคารที่ 29 ธันวาคม พ.ศ. 2552

Howto kill process on window with command line.

Howto kill process on window with command line.

If you know the name of a process to kill, for example notepad.exe, use the following command from a command prompt to end it:

taskkill /IM notepad.exe

This will cause the program to terminate gracefully, asking for confirmation if there are unsaved changes. To forcefully kill the same process, add the /F option to the command line. Be careful with the /F option as it will terminate all matching processes without confirmation.

To kill a single instance of a process, specify its process id (PID). For example, if the desired process has a PID of 827, use the following command to kill it:

taskkill /PID 827

Using filters, a variety of different patterns can be used to specify the processes to kill. For example, the following filter syntax will forcefully kill all processes owned by the user Quinn:

taskkill /F /FI "USERNAME eq Quinn"

eq: equals ne: not equal
gt: greater than lt: less than
gt: greater than or equal le: less than or equal


Thanks : tech-recipes.com

วันอังคารที่ 22 ธันวาคม พ.ศ. 2552

Introduction to Visual Basic (VB)

ความรู้เบื้องต้นเกี่ยวกับ Visual Basic (VB)


โปรแกรม Visual Basic (VB) เป็นโปรแกรมสำหรับพัฒนาโปรแกรมประยุกต์ที่กำลังเป็นที่ นิยมใช้อยู่ในปัจจุบัน โปรแกรม Visual Basic เป็นโปรแกรมที่ได้เปลี่ยนรูปแบบการเขียนโปรแกรมใหม่ โดยมีชุดคำสั่งมาสนับสนุนการทำงาน มีเครื่องมือต่าง ๆ ที่เรียกกันว่า คอนโทรล(Controls) ไว้สำหรับช่วยในการออกแบบโปรแกรม โดยเน้นการออกแบบหน้าจอแบบกราฟฟิก หรือที่เรียกว่า Graphic User Interface (GUI) ทำให้การจัดรูปแบบหน้าจอเป็นไปได้ง่าย และในการเขียนโปรแกรมนั้นจะเขียนแบบ Event - Driven Programming คือ โปรแกรมจะทำงานก็ต่อเมื่อเหตุการณ์ (Event) เกิดขึ้น ตัวอย่างของเหตุการณ์ได้แก่ ผู้ใช้เลื่อนเมาส์ ผู้ใช้กดปุ่มบนคีย์บอร์ด ผู้ใช้กดปุ่มเมาส์ เป็นต้น


เครื่องมือ หรือ คอนโทรล ต่าง ๆ ที่ Visual Basic ได้เตรียมไว้ให้ ไม่ว่าจะเป็น Form TextBox Label ฯลฯ ถือว่าเป็นวัตถุ (Object ในที่นี้ขอใช้คำว่า ออบเจ็กต์) นั่นหมายความว่า ไม่ว่าจะเป็นเครื่องมือใด ๆ ใน Visual Basic จะเป็นออบเจ็กต์ทั้งสิ้น สามารถที่จะควบคุมการทำงาน แก้ไขคุณสมบัติของออบเจ็กต์นั้นได้โดยตรง ในทุกๆ ออบเจ็กต์จะมีคุณสมบัติ (properties) และเมธอด (Methods) ประจำตัว ซึ่งในแต่ละออบเจ็กต์ อาจจะมีคุณสมบัติและเมธอดที่เหมือน หรือต่างกันก็ได้ ขึ้นอยู่กับชนิดของออบเจ็กต

ในการพัฒนาโปรแกรมประยุกต์ด้วย Visual Basic การเขียนโค้ดจะถูกแบ่งออกเป็นส่วนๆ เรียกว่า โพรซีเดอร์ (procedure) แต่ละโพรซีเดอร์จะประกอบไปด้วย ชุดคำสั่งที่พิมพ์เข้าไปแล้ว ทำให้คอนโทรลหรือออบเจ็กต์นั้น ๆ ตอบสนองการกระทำของผู้ใช้ ซึ่งเรียกว่าการเขียนโปรแกรมเชิงวัตถุ (Object Oriented Programming-OOP) แต่ตัวภาษา Visual Basic ยังไม่ถือว่าเป็นการเขียนโปรแกรมแบบ OOP อย่างแท้จริง เนื่องจากข้อจำกัดหลายๆ อย่างที่ Visual Basic ไม่สามารถทำได้

เข้าสู่โปรแกรม Visual Basic

เมื่อเข้าสู่โปรแกรม Visual Basic จะแสดงกรอบโต้ตอบสำหรับเลือกชนิดของโปรแกรมประยุกต์ ที่ต้องการ

เมื่อเลือกชนิดของโปรแกรมประยุกต์เป็นแบบ Standard EXE จะเข้าสู่หน้าต่างของ Visual Basic

ในแต่ละส่วนของ Visual Basic จะมีหน้าที่แตกต่างกันไป ซึ่งในระหว่างการพัฒนาโปรแกรมประยุกต์ จะต้องใช้ส่วนต่าง ๆ เหล่านี้ ในการพัฒนาโปรแกรมประยุกต์

ทูลบาร์ (Toolbars)

เป็นแถบสัญลักษณ์ที่ใช้สำหรับเข้าถึงชุดคำสั่งของ Visual Basic ได้ทันที โดยจะนำคำสั่งที่ถูกใช้งานบ่อย ๆ มาแสดง

ทูลบาร์สามารถแบ่งออกได้เป็น 4 กลุ่มใหญ่ ๆ คือ

1. Standard Toolbars เป็นทูลบาร์มาตรฐานประกอบด้วยคำสั่งที่เกี่ยวกับการจัดการ Project

2. Edit Toolbars เป็นทูลบาร์ที่ประกอบไปด้วยคำสั่งที่ใช้สำหรับช่วยในการเขียนโค้ดใน code editor

3. Debug Toolbars เป็นทูลบาร์ที่ประกอบไปด้วยคำสั่งที่ใช้สำหรับตรวจสอบการทำงานการประมวลผลโปรแกรม

4. Form Editor Toolbars เป็นทูลบาร์ที่ประกอบไปด้วยคำสั่งที่ใช้สำหรับช่วยในการปรับขนาด, ย้าย, เปลี่ยนตำแหน่งคอนโทรลต่าง ๆ ที่อยู่บนฟอร์ม

Toolboxs

คือแถบสัญลักษณ์ Controls ต่าง ๆ ที่ใช้สำหรับพัฒนาโปรแกรมประยุกต์ แบ่ง เป็น 2 กลุ่ม คือ

1. คอนโทรลภายใน (Intrinsic controls) เป็นชุดคอนโทรลมาตรฐานของ Visual Basic ทุก ๆ ครั้งที่มีการเรียกใช้ Form เพื่อสร้างโปรแกรมประยุกต์ คอลโทรลชุดนี้จะถูกเรียกขึ้นมาอัตโนมัติ สามารถเลือกใช้งานคอลโทรลกลุ่มนี้ได้ทันที

2. คอนโทรล ActiveX (ActiveX controls) เป็นชุดคอนโทรลเพิ่มเติมที่ไมโครซอฟท์จัดเตรียมไว้ เพื่อเพิ่มขีดความสามารถในการพัฒนาโปรแกรมประยุกต์ การเพิ่มคอนโทรลกลุ่มนี้เข้ามาในทูลบ๊อกซ์ทำโดยเลือกเมนู Project/Components (หรือคลิ๊กขวาตรงแถบทูลบ๊อกซ์เลือกคำสั่ง


Form Designer

เป็นส่วนที่ใช้ออกแบบการแสดงผลส่วนที่ใช้ติดต่อกับผู้ใช้ ฟอร์มเป็นออบเจ็กต์แรกที่ถูกเตรียมไว้ให้ใช้งาน คอลโทรลทุกตัวที่ต้องการใช้งานจะต้องนำไปบรรจุไว้ในฟอร์ม นำคอลโทรลมาประกอบกันขึ้นเป็นโปรแกรมประยุกต์ ทุกครั้งที่เปิด Visual Basic ขึ้นมา หรือ สร้าง Project ใหม่จะมีฟอร์มว่าง 1 ฟอร์มถูกสร้างเตรียมไว้เสมอ


Project Explorer

Project Explorer ใช้สำหรับบริหารและจัดการโปรเจ็กซ์ โดยจะแสดงองค์ประกอบของแต่ละโปรเจ็กต์แบบโครงร่างต้นไม้ (tree-view)ตัวโปรเจ็กตจะหมายถึงโปรแกรมประยุกต์ซึ่งจะอยู่ส่วนบนสุด ถัดมา จะแสดงส่วนประกอบต่าง ๆ ของโปรเจ็กต์นั้น ๆ ว่าประกอบด้วยอะไรบ้าง เช่น ฟอร์มโมดูล รายงาน เป็นต้น ถ้ามี 2 โปรเจ็กต์ขึ้นไป ก็จะแสดงแยกออกเป็นส่วนต่างหากอีกโปรเจ็กต์ ถ้าต้องการใช้งานส่วนใด ของโปรเจ็กต์ไหนก็สามารถคลิ๊กเลือกได้ทันที


Project Explorer แบบโปรเจ็กต์เดียว และ แบบหลายโปรเจ็กต์

ส่วนประกอบของโปรเจ็กต์

Project(n) คือโปรแกรมประยุกต์ที่พัฒนาอยู่ มีนามสกุล .vbp
Form(n) .frm เป็นฟอร์มที่มีอยู่ในโปรเจ็กต์นั้น ๆ ใน 1 โปรเจ็กต์อาจมีมากกว่า 1 ฟอร์มก็ได้ มีนามสกุล
Modules เป็นที่เก็บชุดคำสั่งที่คุณเขียนขึ้นมา โดยจะเก็บชุดคำสั่งที่ใช้บ่อย ๆมีนามสกุล .bas
Class Modules เป็นโมดูลชนิดพิเศษที่มีลักษณะเป็นอ๊อบเจ็กต์ ที่สามารถสร้างขึ้นมาได้ จะมีนามสกุล .cls
User controls เป็นส่วนที่เก็บคอนโทรล ActiveX ที่คุณสร้างขึ้นมา มีนามสกุล .ctl
Designers เป็นส่วนของรายงานที่ถูกสร้างขึ้นมีนามสกุลเป็น .dsr

Properties Window

หน้าต่างคุณสมบัติเป็นส่วนที่ใช้กำหนดคุณสมบัติของออบเจ็กต์ที่ถูกเลือก (adtive) หรือได้รับความสนใจ (focus) อยู่ขณะนั้น ซึ่งสามารถที่จะปรับเปลี่ยนค่าต่าง ๆ ของคอลโทรลเพื่อให้เกิดความเหมาะสมและตรงกับความต้องการใช้งานได้ทันที


ในหน้าต่างคุณสมบัติ จะประกอบไปด้วยแท็ป 2 แท็ป คือ

1. แท็ป Alphabetic เป็นแท็ปที่แสดงรายการคุณสมบัติ เรียงตามตัวอักษรในภาษาอังกฤษ

2. แท็ป Categorized เป็นแท็ปที่แสดงรายการคุณสมบัติ โดยการจัดกลุ่มของคุณสมบัติที่มีหน้าที่คล้ายกัน หรือมีความสัมพันธ์กัน

หน้าต่าง Form Layout

เป็นส่วนที่แสดงให้เห็นตำแหน่งของฟอร์ม และสามารถกำหนดตำแหน่งของฟอร์ม ที่ปรากฎบนจอภาพในขณะประมวลผลได้ โดยการเคลื่อนย้ายฟอร์มจำลอง ที่อยู่ในจอภาพจำลองด้วยการ drag เมาส์ ไปยังตำแหน่งทีคุณต้องการ โดยจะมีผลในขณะประมวลผลเท่านั้น


Immediate Window

เป็นหน้าต่างที่ให้ประโยชน์ ในกรณีทีคุณต้องการทราบผล การประมวลผลโดยทันที เช่น การทดสอบโปรแกรมย่อยต่าง ๆ เป็นต้น เมื่อคุณสั่งประมวลผลโปรเจ็กต์ หน้าต่างนี้จะปรากฎขึ้นโดยอัตโนมัติ

หน้าต่าง New Project

หน้าต่าง New Project จะปรากฎขึ้นมาเมื่อเลือกเมนู File/New Project กรอบโต้ตอบนี้ จะแสดงชนิดของโปรแกรมประยุกต์ ที่คุณต้องการพัฒนา ซึ่งจะคล้ายกับตอนที่เปิดโปรแกรม Visual Basic ขึ้นมาครั้งแรก

หน้าต่าง Code Editor

เป็นส่วนที่ใช้ในการเขียนชุดคำสั่งสำหรับการประมวลผล และควบคุมการทำงานของคอลโทรล ต่าง ๆ

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

Cmd prompt for Window

Specific Control panel

"Control desktop"
"Control color"
"Control date/time"
"Control international"
"Control mouse"
"Control keyboard"
"Control printers"
"Control fonts"


Management

Certificate Manager : " certmgr.msc"
Indexing Service : "ciadv.msc"
Computer Management : "compmgmt.msc"
Device Management : " devmgmt.msc"
Disk Defragmenter : "dfrg.msc"
Disk Management : "diskmgmt.msc"
Event Viewer : "eventvwr.msc"
Shared Folders : "fsmgmt.msc"
Group Policy : "gpedit.msc"
Local Users and Groups : "lusrmgr.msc"
Removable Starage : "ntmsmgr.msc"
Performance Monitor : " perfmon.msc"
Resultant Set of Policy : "rsop.msc"
Security Policy : "secpol.msc"
Services : "services.msc"
Windows Management Infrastrusture : "wmimgmt.msc"


Thanks : Robopony

วันอังคารที่ 3 พฤศจิกายน พ.ศ. 2552

Introduction To VMware VIX API

Introduction to VMware VIX API.


The VIX API allows you to automate virtual machine operations on VMware Server or VMware Workstation.


About the VIX API

The VIX API (or "Vix") is a library for writing scripts and programs to manipulate virtual machines. It is high-level, easy to use, and practical for both script developers and application programmers. The VIX API is designed for three kinds of users:

  • Technically Adventurous Users - For example, dedicated IT personnel in an organization building their own in-house tools.
  • Partners - Software vendors using Vix to integrate VMware products with their own products or to build management products specifically for virtual machines.
  • VMware Engineering - VMware uses Vix in its own products as a general abstraction layer between core virtual machine processes and associated service processes.

The VIX API runs on Microsoft Windows (Windows95 or later) and Linux platforms (kernel 2.4.x or later recommended). It supports programs written in C, Perl, and COM (Visual Basic, VBscript, C#).


Compatibility

This release of the VIX API is compatible with VMware Server 2.0 and VMware Workstation 6.5.

Product Compatibility

VIX API Version

Compatible Platform Products

Library Location

1.0.3

VMware Server 1.0

server-1

1.1

VMware Workstation 6.0

ws-3

1.1.1

VMware Workstation 6.0.1 or earlier

ws-3

1.1.2

VMware Workstation 6.0.2 or earlier

ws-3

1.1.4

VMware Workstation 6.0.4 or earlier

ws-5

1.1.5

VMware Workstation 6.0.5 or earlier

ws-5

1.6.0

VMware Server 2.0 or earlier

VIServer-2.0.0

1.6.1

Workstation 6.5 or earlier

Workstation-6.5.0

The library location is not important if you use the wrapper library as recommended.

Vix Version 1.x supports programs written to version 1.x of the VIX API. Exceptions are noted on function reference pages. For example, VMware Server does not support record and replay, while VMware Workstation does not support virtual machine registration.

Vix libraries are installed with VMware Server and VMware Workstation and provide API compatibility corresponding to the product release. Vix libraries are downward compatible in most cases. If you upgrade VMware Server or VMware Workstation, you should also upgrade any separately installed Vix libraries. For instructions, see Installing the VIX API. You should also upgrade VMware Tools to match the product release.

With VMware Server, you can run Vix programs remotely. With VMware Workstation, Vix programs usually run on the host.


64-Bit Library Support

The VIX API provides 64-bit libraries for Linux only. Windows 32-bit libraries may work in 64-bit emulation mode.


Redistributable Code and Sample Code

As noted in the End User License Agreement, the VIX API allows you to build and distribute your own applications. To facilitate this, the following files are designated as redistributable for the purpose of that agreement:

  • VixAllProducts.lib and VixAllProductsd.lib
  • vix.lib and vix.dll
  • vixCOM.dll
  • libvixAllProducts.so
  • libvix.so

Redistribution of the open source libraries included with the VIX API is governed by their respective open source license agreements.

The VIX API also includes sample code, which you can use as a starting point for your own programs. Code is delivered in the Samples directory installed with VMware VIX. A Makefile is provided for Linux, and an nMakefile for Windows.


Installing the VIX API

On the VMware Server or VMware Workstation host, you do not need to install any additional VIX API components. Vix libraries are installed by default under “VMware VIX” or vmware-vix. To compile programs on these systems


To control VMware Server remotely from another machine, you need header files vix.h and vm_basic_types.h, as well as one or more library files. You can get these files in one of two ways: Use the Vix standalone installer to get the files needed to compile a program


Using the Windows Standalone Installer

To install the VIX API files on Windows:

  1. Download the installer program to your Desktop.
  2. Double-click the installer icon to run the graphical installer.

To uninstall the VIX API, go to Start > Settings > Control Panel and use the Add/Remove Programs control panel.


Using the Linux Standalone Installer

To install the VIX API files on Linux:

  1. Download the tar-gzip package. For example:
    wget http://www.vmware.com/downloads/server/VMware-vix-110068.i386.tar.gz
  2. As superuser, extract the package:
    sudo tar zxpf VMware-vix-110068.i386.tar.gz
  3. Change directory and, as superuser, run the VMware installer:
    cd vmware-vix-distrib
    sudo ./vmware-install.pl
  4. Read the EULA and type "yes" if you agree to its terms. You can accept most defaults by typing Enter when prompted.

To uninstall the VIX API, run the vmware-uninstall-vix.pl script. The uninstaller is at /usr/bin/vmware-uninstall-vix.pl by default.


Upgrading an Earlier Installation

If you are using older Vix libraries, VMware recommends that you upgrade those libraries using the standalone installer. The standalone installer provides a current version of the wrapper library, which allows programs to communicate with any Vix library, regardless of version or target architecture. The wrapper library dynamically loads appropriate library files at connection time.

Otherwise you must link your program to a Vix library that matches the server version. This gets inconvenient if your program communicates with more than one version of the server.

VMware Tools in virtual machines should be kept up-to-date with the VMware version on the host. When upgrading, also update VMware Tools in all guest operating systems. The VIX API relies on a current matching version of VMware Tools to perform many operations.

Upgrading the Vix libraries replaces the older header files, vix.h and vm_basic_types.h with newer header files. The header files are installed at the following locations by default:

  • On a Windows system:
    • C:\Program Files\VMware\VMware VIX\vix.h
    • C:\Program Files\VMware\VMware VIX\vm_basic_types.h
  • On a Linux system:
    • /usr/include/vmware-vix/vix.h
    • /usr/include/vmware-vix/vm_basic_types.h

Whether or not you use the wrapper library, your programs may call only the functions supported by the host. If you communicate with an older host, you cannot use newer features.


Sample Vix Programs

On Windows, the sample programs are installed in C:\Program Files\VMware\VMware VIX\Samples by default. An nMakefile is provided to compile all sample programs using nmake and the Visual Studio C compiler.

On Linux, the sample programs are installed in /usr/share/doc/vmware-vix/VMwareVix/samples/ by default. A Makefile is provided to compile all sample programs using make and the GNU C compiler.

Compiling on Windows With Wrapper Library

To use the wrapper library with VIX 1.6, you need Visual Studio 2005 (Visual C release 8.0) or later. To compile code on Windows using the wrapper library, use the following procedure. Files are in the C:\Program Files\VMware\VMware VIX folder.

  1. Add the header file to an include statement in your source code:
  2. #include "vix.h"
    ... program code here ...
  3. Compile for, and link with, the multithreaded version of the C runtime library. For Workstation 6.0.1 and later, you may use either the debug or the non-debug version of this library. For Workstation 6.0.0 and earlier, you must use the non-debug version.
    • To compile and link with the debug version (libcmtd.lib) use compiler options /MTd /nodefaultlib:libcmtd.lib.
    • To compile and link with the non-debug version (libcmt.lib) use compiler options /MT /nodefaultlib:libcmt.lib.
  4. Compile code to link with these files:
    • VixAllProducts.lib for non-debug, or VixAllProductsd.lib for debug.
    • kernel32.lib
    • user32.lib
    • advapi32.lib
    • ole32.lib
    • oleaut32.lib
    • ws2_32.lib
    • shell32.lib

Compiling on Linux With Wrapper Library

This procedure assumes that you have installed Vix components in the default directories. If you made different choices during the installation, specify your directory choices instead.

  1. Add an include statement in your source code for the header file:
    #include "vix.h"
    ... program code here ...
  2. Compile your application, linking to the wrapper library and dynamic load library:
    $ gcc -I/usr/include/vmware-vix vixapp.c -o vixapp -lvixAllProducts -ldl

Compiling on Windows Without Wrapper Library

If you do not use the wrapper, you need to link the appropriate Vix libraries for the VMware product to which your Vix program connects. Workstation 6.5 is able to link a debug version of the C runtime library.

To compile your code for use with Workstation 6.5:

  1. Make the required DLL files available to your program, either by placing them in the same directory as your executable, or by placing them in the system directory (C:\WINDOWS\system32). The easiest option is to copy DLL files from the directory C:\Program Files\VMware\VMware VIX\Workstation-6.5.0\32bit or 64bit.
    • vix.dll (or vixd.dll if you are using debug C runtime library)
    • iconv.dll (or inconvd.dll if you are using debug C runtime library)
    • libxml2.dll (or libxml2d.dll if you are using debug C runtime library)
    • libeay32.dll
    • ssleay32.dll
    • vmcryptolib.dll
    • zlib1.dll
  2. Add the header file to an include statement in your source code:
    #include "vix.h"
    ... program code here ...
  3. Compile your code to link in vix.lib statically.
  4. Compile for, and link with, the multithreaded version of the C runtime library. You may use either the debug or the non-debug version of this library.
    • To compile and link with the debug version (libcmtd.lib) use compiler option /MTd with Microsoft Visual Studio.
    • To compile and link with the non-debug version (libcmt.lib) use compiler option /MT with Microsoft Visual Studio.

To compile your code for use with Workstation 6.0.x:

  1. Make the required DLL files available to your program, either by placing them in the same directory as your executable, or by placing them in the system directory (C:\WINDOWS\system32). The easiest option is to copy DLL files from the directory C:\Program Files\VMware\VMware VIX\ws-2\32bit or ws-3\32bit.
    • vix.dll
    • iconv.dll
    • libxml2.dll
    • libeay32.dll
    • ssleay32.dll
    • vmcryptolib.dll
    • zlib1.dll
  2. Add the header file to an include statement in your source code:
    #include "vix.h"
    ... program code here ...
  3. Compile your code to link in vix.lib statically.
  4. Compile for, and link with, the multithreaded version of the C runtime library. You must use the non-debug version of this library (libcmt.lib) by using compiler option /MT with Microsoft Visual Studio.

To compile your code for use with VMware Server 1.0:

  1. Make the following DLL files available to your program, either by placing them in the same directory as your executable, or by placing them in your system directory (C:\WINDOWS\system32). The easiest option is to copy DLL files from the directory C:\Program Files\VMware\VMware VIX\server-1\32bit.
    • vix.dll
    • ssleay32.dll
    • libeay32.dll
  2. Add the header file to an include statement in your source code:
    #include "vix.h"
    ... program code here ...
  3. Compile your code to link in vix.lib statically.

Compiling on Linux Without Wrapper Library

To compile your code with VMware Server or VMware Workstation installed:

  1. Add an include statement in your source code for the header file:
    #include "vix.h"
    ... program code here ...
  2. Compile your application, linking statically to libvix.so, as in the following examples.
    • To link the VMware Workstation library on a 32-bit machine:
      gcc -I/usr/include/vmware-vix -o vixapp vixapp.c /usr/lib/vmware-vix/Workstation-6.5.0/32bit/libvix.so
    • To link the VMware Server 2.0 library on a 32-bit machine:
      gcc -I/usr/include/vmware-vix -o vixapp vixapp.c /usr/lib/vmware-vix/lib/VIServer-2.0.0/32bit/libvix.so
    • To link the old VMware Server 1.x library:
      gcc -I/usr/include/vmware-vix -o vixapp vixapp.c /usr/lib/vmware-vix/lib/server-1/32bit/libvix.so
Thanks : VMware.com