Tuesday, June 28, 2011

First time in LAB 212 Review about Class in VB...

Today teacher just only review about basic using classes in VB.Net. below is source code that I've copied:

1- Create Class Name: ClassAddress

Public Class ClassAddress
    Private s As String
    Private k As String
    Private p As String
    Public Property Sangkat() As String
            Return s
        End Get
        Set(ByVal value As String)
            s = value
        End Set
    End Property
    Public Property Khan() As String
            Return k
        End Get
        Set(ByVal value As String)
            k = value
        End Set
    End Property
    Public Property Province() As String
            Return p
        End Get
        Set(ByVal value As String)
            p = value
        End Set
    End Property
End Class

2- Create Class Name: ClassStudent

Public Class ClassStudent
    Private Add As New ClassAddress
    Private SID As Integer
    Private SNAME As String
    Private SDISPLAY As String
    Public ReadOnly Property Address() As ClassAddress
            Return Add
        End Get
    End Property
    Public Property ID() As Integer
            Return SID

        End Get
        Set(ByVal value As Integer)
            SID = value
        End Set
    End Property

    Public Property Name() As String
            Return SNAME
        End Get
        Set(ByVal value As String)
            SNAME = value
        End Set
    End Property

    Public ReadOnly Property Display() As String
            Return SID & " " & SNAME & " " & Add.Sangkat & " " & Add.Khan & " " & Add.Province
        End Get
    End Property
End Class

3- Write Code in FormLoad for know about its processing:

Public Class Form1
     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim obj As New ClassStudent
        obj.ID = 1
        obj.Name = "A"
        obj.Address.Sangkat = "B"
        obj.Address.Khan = "C"
        obj.Address.Province = "D"
    End Sub
End Class

New with Fedora core 5 in LAB 205...

First time with Fedora:

ដំបូងយើងត្រូវ Log ចូល​ Fedora៖

User: root
Password: 123456 ("Only at LAB" It's different depend on users" )

1- Run terminal on Desktop 
    or click on Applications on top bar -> Accessories -> Terminal

2- ឥឡូវយើងកំពុងស្ថិតនៅជា Root User

3- យើងអាចបង្កើតនូវ User ផ្សេងៗទៀតតាមរយៈ command ក្នុង terminal

    # useradd SOKANG

    រួយប្រើប្រាស់​ command SU "Switch User" ដើម្បីចូលទៅកាន់ User SOKANG
    ដែលទើបបានបង្កើតពី Root User

​​​​    # su SOKANG


Using "vi" command for Editor:

$ vi "filename"
-press i (Insert Text)
-press ESC (Change mode)
-press :x (Save and Exit)
-Press :q! (Exit without Save)


Using Basic Commands:

-LS = សំរាប់បង្ហាញទីតាំងនូវបញ្ជី នៃ Contents ដែលមាននៅក្នុងថតឯកសារ។
-Cd = សំរាប់ចាកចេញ ឬ​ប្តូរទីតាំងឯកសារ (Change Directory)
-touch = សំរាប់បង្កើត ឯកសារទទេ។
-rm = សំរាប់ លុបឯកសារ​​ (Remove)
-rm -r = សំរាប់ លុបថតឯកសារមិនទទេ
-rmdir = សំរាប់​លុបថតឯកសារទទេ។​ ( Remove Directory)
-mkdir =  សំរាប់បង្កើ់ត ថតឯកសារ​ (Make Directory)
-cp = សំរាប់ចំលងឯកសារ (Copy)
-mv = សំរាប់ប្តួរទីតាំងឯកសារ (Move)
-Tree = បង្ហាញបញ្ជីរឯកសារ ជាទំរង់ Tree.

Sunday, June 26, 2011

One Week after Know all Lectures...

Here is some of information that i get from each lecture in class.

Subject: SE (Software Engineering)
Lecture: Mr. Srun Sovila
E-mail: sovila.srun@gmail.com
Tel: 012 894 325


Subject: OOAD (Object Oriented Analysis and Design)
Lecture: Mr. Svoeuy Bunna
E-mail: N/A
Tel: N/A


Subject: M.I.S (Management Information System)
Lecture: Mr. Kean Tak
E-mail: info@keantak.com
Tel: 012 939 240
       0977 939 240
       015 519 566 ( Free call in network)
Website: www.keantak.com


Subject: Web Application Development
Lecture: Mr. Thou Chamroeun
E-mail: thou.chamroeun@rupp.edu.kh
Tel: 012 522 227


Subject: Linux System Administrator
Lecture: Mr. Chea Somnang
E-mail: N/A
Tel: N/A

Monday, June 20, 2011

Welcome back my IT Class!

Here is Schedule of my class E4. Everyone can download it as pdf file. Just right click on "Download here" and save link as. that's it!
(->Downlaod here <-)