SETHA SITE INFORMATION

  • Increase font size
  • Default font size
  • Decrease font size
SETHA SITE INFORMATION

VB Programming: Create Hang Man Game in VB6

E-mail Print PDF

Hang Man is a type of Word Guessing Game use to guess one word by offering letter by letter whether it exists in a guessing word or not. If the offering letter does not exists in the guessing word each part of human body will place to be hanged.


Download Full Source Code
 

Turbo C++ Programming: Draw Cambodian Map in Turbo C++ (2)

E-mail Print PDF

This is a Cambodia’s Map in Khmer version. (It is not a real map of Cambodia – just for testing in drawing graphic mode of Turbo C++ programming language for IT student only)
Download Khmer Font for Turbo C++

In this sample application you can use mouse pointer to navigate and click on each province name to view detail information of province.


 
Download Full Source Code
 

Turbo C++ Programming: Create Calculator in Turbo C++

E-mail Print PDF

This is a sample calculator created from Turbo C++ programming language. Use mouse pointer to click on each number or use keyboard to entry number for calculation.


 
Download Full Source Code
 

VB Programming: Create Typing English in VB6

E-mail Print PDF

This is a sample code programmed in Visual Basic 6. It will guide you to create Typing Application.

Sample code here

Private Sub Form_KeyPress(KeyAscii As Integer)
    If curInd < Len(strWord) Then
        If Asc(Mid(strWord, curInd + 1, 1)) = KeyAscii Then
            If curInd < Len(strWord) Then
                SetLetterColor curInd, vbBlack, False, 8
                curInd = curInd + 1
                '
                ChangeHighLightKey
                SetLetterColor curInd, vbRed, True, 10
                '
                If curInd = Len(strWord) Then
                    curInd = 0
                    ChangeHighLightKey
                    SetLetterColor curInd, vbRed, True, 10
                End If
            End If
        End If
    End If
End Sub

Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
    If KeyCode = 16 Then _
        Me.cmdShift.BackColor = &H8000000F
    If KeyCode = 17 Then _
        Me.cmdLeftCtrl.BackColor = &H8000000F
    If KeyCode = 18 Then _
        Me.cmdLeftAlt.BackColor = &H8000000F
End Sub


Download Source Code Here
 

Turbo C++ Programming: Draw Cambodian Map in Turbo C++ (1)

E-mail Print PDF

This is a sample code of Turbo C++ programming language using graphic mode to draw Cambodia’s Map. This mode (graphic mode) will work well in Windows XP or Windows Me. In this sample application you will see the image of Cambodia’s Map but it is not a real map of Cambodia; it is just a map use to test the graphic and normal mode in Turbo C++ programming language for IT student only.

Using this application you can use [Arrow] key to move down, move up, move left and move right to navigate each province/city in Cambodia and then press [Enter] key to see information of the selected province.


 
Download Full Source Code
 


Page 18 of 19