SETHA SITE INFORMATION

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

How to get file extension in Visual Basic .Net?

E-mail Print PDF
This article guides you to write Visual Basic .Net code to get file extension.
Dim strFilePath As String
Dim strFileExtension As String
strFilePath = "C:\data.txt"

strFileExtension = System.IO.Path.GetExtension(strFilePath)
 

How to Convert Khmer Unicode Data to Unicode Code in Visual Basic?

E-mail Print PDF
This article shows you Visual Basic code on how to convert Khmer Unicode Data into Unicode Code.
 
Function UnicodeString(ByVal str As String) As String
    Dim reVal As String
    Dim i As Integer
    For i = 1 To Len(str)
        reVal = reVal & AscW(Mid(str, i, 1))
    Next
    UnicodeString = reVal
End Function

Why we need this?

We need to convert Unicode Data to Unicode Code in Microsoft Access Table in order to enable sorting and searching of Khmer Unicode Data. As experiences with Khmer Unicode, we cannot sort or search in field which consist of Khmer Unicode data. Therefore, we need to convert those Khmer Unicode Data into Unicode Code and add to another new column which we can sort and search instead.

 

Create Class (OOP) in Visual C# 2008

E-mail Print PDF
This article shows you the C# programming language on how to:
  • Create Class and Object
  • Create Class Properties
  • Create Class Methods
  • Create Timer Object in Class

Download Source Code Here
 

Create Crystal Report with Business Object Viewer (Support Khmer Unicode)

E-mail Print PDF

The below video clip shows you how to create crystal report in Visual Basic 2008 using business object viewer. If you wish to use Khmer Unicode characters you will need to use business object viewer as in this video clip.

 

Create Simple Calculator in Visual C# 2008

E-mail Print PDF

This article shows you how to create simple Calculator using C# programming in Visual C# 2008. Within this article you will know:

  • how to declare variables
  • how to use global variables
  • how to to use if...else...
  • how to design form using some controls such as button and label

Download Source Code
Part 1:

Part 2:

Part 3:
 


Page 8 of 19