Design
Testing Project
You will need the following:
* 5 Textbox
* 6 Labels
* 5 Textbox
* 6 Labels
Program Codes :
Imports System.IO
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
TextBox1.Text = Environment.SystemDirectory.ToString
TextBox2.Text = Environment.OSVersion.ToString
TextBox3.Text = Environment.UserName.ToString
TextBox4.Text = Mid((Environment.TickCount / 3600000), 1, 5) & " :Hours"
TextBox5.Text = Environment.MachineName.ToString
End Sub
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
End Sub
End Class
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
TextBox1.Text = Environment.SystemDirectory.ToString
TextBox2.Text = Environment.OSVersion.ToString
TextBox3.Text = Environment.UserName.ToString
TextBox4.Text = Mid((Environment.TickCount / 3600000), 1, 5) & " :Hours"
TextBox5.Text = Environment.MachineName.ToString
End Sub
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
End Sub
End Class
No comments:
Post a Comment