วันจันทร์ที่ 29 กรกฎาคม พ.ศ. 2556

Facebook Head Offie สำนักงานใหญเฟสถถถ


Facebook Head Office สำนักงานใหญ่เฟสบุ๊ก


Head Office of Facebook is in Palo Alto, California. 
สำนักงานใหญ่เฟสบุ๊ก  ณ  เมืองพาโลอัลโต มลรัฐแคลิฟอร์เนีย

1309 Head office of Facebook 

We can see that their office is not sophisticated but very common.
นักเรียนคงเห็นแล้วนะว่า ออฟฟิศใหญ่ของ  Facebook ก็ไม่ได้เลิศหรูสลับซับซ้อนอะไร แบบบ้านๆ ธรรมดาๆ (เพราะความ Hitech  จะไปอยู่ที่ Data Center แทน)

1309 Head office of Facebook
1.
2247 Head office of Facebook
2. 

3198 Head office of Facebook
3. 

4163 Head office of Facebook
4. 

5143 Head office of Facebook
5. 
6135 Head office of Facebook
6.
7133 Head office of Facebook
7. 
8120 Head office of Facebook
8. .
9104 Head office of Facebook
9. .
1097 Head office of Facebook
10.
11129 Head office of Facebook
11.
12107 Head office of Facebook
12.
1385 Head office of Facebook
13.
1482 Head office of Facebook
14.
1578 Head office of Facebook
15. Their office is like any common office, nothing is superb.
 ออฟฟิศดูธรรมดาๆ บ้านๆ เหมือนออฟฟิศทั่วไปที่ไหนๆ นั่นเอง  ไม่มีสิ่งไหนเลยที่เลิศลอยเกินเลย
1673 Head office of Facebook
16. The employees has never ware any uniform.
พนักงานของเขา ก็แต่งตัวแบบง่ายๆ บ้านๆ ไม่ต้องมีเครื่องแบบอะไรให้มากพิธี 

Visul Basic 6.0 : Exercise

    Visul Basic 6.0 : Exercise


Exercise 1


Calendar/Time Display

1 Design a window application that displays the current month, day, and year.  Also, display the current time, updating it every second (look into the Timer control).  Make the window look something like a calendar page.  Play with object properties to make it pretty.


2 Configure the properties of the related objects like the followings




3  Attach the source codes to the objects. There is only the Timer "timDisplay" object that we have to attach our source codes to.  Although there is no any variable declared, but we have to type the code "Option Explicit" at the General Declarations module.




Programming with Visual Basic 6.0


Programming  with Visual Basic 6.0 

What is Visual Basic? 

Visual Basic is a tool that allows us to develop Windows (Graphic User Interface - GUI) applications.  The applications have a familiar appearance to the user.

Visual Basic is event-driven, meaning code remains idle until it is called upon to respond to some event (e.g. mouse clicking, button pressing, menu selection, ...).  Nothing happens until an event is detected.  Once an event is detected, the code corresponding to that event (event procedure) is executed.  

How to program with Visual Basic? 


There are three primary steps involved in building a Visual Basic application:
1.    Draw the user interface  ออกแบบส่วนติดต่อกับผู้ใช้
2.    Assign properties to controls  กำหนดคุณสมบัติให้กับคอนโทรล
3.    Attach code to controls  ผูกติด code เข้ากับคอนโทรล

Stop Watch Application 

1 At the "Start-up Menu" of our Windows Desktop, let's find where "Microsoft Visual Studio 6.0" is, and click on it. Then we can see some shortcuts to the applications of the software suite, and "Microsoft Visual Basic6.0" is one of them and it is also our "target software" right now, let's select it.


2 We now at the main screen of Visual Basic 6.0 with its "New Project" window. Let's click on the "New" tab and select "Standard EXE" icon.



3 Before we go on, let's consider the components of the toolbar of Visual Basic 6.0.  Properties window, Run and Save project are what we have to focus on now.



4 Controls are the genius tools that can be attached by any codes that can control any events such as clicking mouse or pressing key. Now the "Command  Button" and the "Label" are the controls that we are going to use.


5 Visual Basic programming begins with a form which has been named "Form1" by default. Visual Basic form simulates itself as platform which can receive many kinds of objects that created by the controls. Any object has its properties that has been shown in the properties window.




6 Here we go on creating a design job like the following picture.  
    -  Using the "Comm
and Button" control to draw the three sequence command buttons, Command1, Command2 and Command3. 
   -  Using the "Label" control to draw the six sequence labels, Label1,
Label2, Label3, Label4, Label5 and Label6 





















7 Click on "Form1", we can see its properties, rename it with "frmStopWatch" (frm is a pefix which comes from "form"). And change its caption to "Stop Watch Application".


8 Click on "Command1", yes we are about to specify the properties of this object. Rename it with "cmdStart" (cmd is a prefix which comes from "command button") and also refill its caption with "&Start Timing" (& is a prefix of the key letter that a user can press on this key together with the "alt" key instead of click on this command button). 



9 Do it the same way as the previous step. 


10 Do it the same way as the previous step.


11  Change only the captions of Label1, Label2 and 
Label3 according to the following picture.


12  Change the properties of the other last three labels, "Label4", "Label5" and "Label6" by renaming them to "lblStart", "lblEnd" and "lblElapsed" and erase their captions until they are blank.



13  Now we have just already designed and configured all of related objects, the next step of us is coding our program. Let's click on the menu-bar at the "View" command tab, then select the "Code" sub-command, the view-code window will show up. Yes, we are going to enter our source codes of our application here.

14  The first set of source codes is about the declarations. There will be the "(General)" at the left-top of the view-code window and the "(Declarations)" at the right-top. We have to type four lines of our following source codes.



15  This step is about attaching o
ur source code to a control object. The "cmdStart" is a command button we are going to attach the source code. Let's double click on this command button, yes, this action could bring us to a module or subprogram that could be driven by an event, _click ( ), that means this subprogram could work when this command button was clicked on.

What is about this source code?  It begins with assigning the recent time value (Now) to the variable "StartTime".  Then the method "Caption" stipulates that the label "lblStart" can show up data from the variable "startTime" with the "hh:mm:ss:" format.

17  This is the end of application with the only amazing word "End"





18  Congratulation to our tough project!. This is the output of our input and process. Yes, it is the "Stop Watch Application" of us.  


How to Create Your Blog with


How to Create Your Blog with 



1. After you had signed in Google Mail Service and then you had your own Gmail, well, you are now the one who can ask for your blog creation with 
www.blogger.com using your Gmail.




2. See "New Blog" and click, wow, to create your blog any way 





3. Yeah!, you have to fill some fields related to your new blog e.g.   title, address and  template. But you can pass this task easily. Or you can skip it. (Because you can change these options any time)





Computer Network เครือข่ายคอมพิวเตอร์


Computer Network เครือข่ายคอมพิวเตอร์


What is Computer Network? Why?

If any computer is not connected to others it is called "a stand-alone machine".  Today if anyone uses any stand-alone machine , he must be considered a stranger because the world today is of computer networks. A network machine can send/receive packets (bits of data per second) to/from any other machines e.g. Internet.  Our computers/tablet PCs/smart phones can never be alone anymore. Yes, they have been connected to their networks both local (e.g. the networks in our school) and global (e.g. Internet). We can share our resources such as  files, printers etc. to each other through our local area network (LAN) or we can exchange our data through the wide area network (WAN) like Internet.


Figure 1   What is Computer Network  เครือข่ายคอมพิวเตอร์คืออะไร









Figure 3  Types of Network Topology
รูปแบบการเชื่อมต่อของเครือข่าย





What is Computer Network? Why?

If any computer is not connected to others it is called "a stand-alone machine".  Today if anyone uses any stand-alone machine , he must be considered a stranger because the world today is of computer networks. A network machine can send/receive packets (bits of data per second) to/from any other machines e.g. Internet.  Our computers/tablet PCs/smart phones can never be alone anymore. Yes, they have been connected to their networks both local (e.g. the networks in our school) and global (e.g. Internet). We can share our resources such as  files, printers etc. to each other through our local area network (LAN) or we can exchange our data through the wide area network (WAN) like Internet.

Figure 1   What is Computer Network  เครือข่ายคอมพิวเตอร์คืออะไร
Figure 2  Computer Network classified by Area Width
เครือข่ายคอมพิวเตอร์ จำแนกตามขนาดของพิ้นที่
TEACHER :  Phaitoon  Yaemprasuan    :  occupatech@gmail.com
                  http://picta55.blogspot.com

Figure 4   Star/Extended Star Topology
รูปแบบการเชื่มต่อแบบสตาร์ และแบบสตาร์หลายๆ กลุ่ม










Figure 3  Types of Network Topology
รูปแบบการเชื่อมต่อของเครือข่าย