Tag : .NET, VBScript, Win (Windows App), VS 2012 (.NET 4.x)
Date :
2012-10-15 16:23:05
By :
Littlefatboyz
View :
1304
Reply :
2
No. 1
Guest
Code (VB.NET)
Private Sub txtProcess_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtProcess.KeyDown
If e.KeyCode = 13 Then
Dim ary As Array
ary = Split(Me.txtProcess.Text, ".")
MessageBox.Show(UBound(ary))
End If
End Sub