View Your System Information
Add the following Code:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
TextBox1.Text = My.Computer.Clock.GmtTime
TextBox2.Text = My.Computer.Info.AvailablePhysicalMemory
TextBox3.Text = My.Computer.Info.TotalPhysicalMemory
TextBox4.Text = My.Computer.Info.OSFullName
TextBox5.Text = My.Computer.Info.OSPlatform
TextBox6.Text = My.Computer.Info.OSVersion
TextBox7.Text = My.Computer.Name
TextBox8.Text = My.User.Name
TextBox9.Text = My.Computer.Mouse.WheelExists
TextBox10.Text = My.Computer.Screen.WorkingArea.ToString
TextBox2.Text = TextBox2.Text & " KB"
TextBox3.Text = TextBox3.Text & " KB"
GroupBox1.Visible = False
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
TextBox1.Text = My.Computer.Clock.GmtTime
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer2.Enabled = True
GroupBox1.Visible = True
End Sub
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
GroupBox1.Visible = False
End Sub
End Class
Add the following Code:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
TextBox1.Text = My.Computer.Clock.GmtTime
TextBox2.Text = My.Computer.Info.AvailablePhysicalMemory
TextBox3.Text = My.Computer.Info.TotalPhysicalMemory
TextBox4.Text = My.Computer.Info.OSFullName
TextBox5.Text = My.Computer.Info.OSPlatform
TextBox6.Text = My.Computer.Info.OSVersion
TextBox7.Text = My.Computer.Name
TextBox8.Text = My.User.Name
TextBox9.Text = My.Computer.Mouse.WheelExists
TextBox10.Text = My.Computer.Screen.WorkingArea.ToString
TextBox2.Text = TextBox2.Text & " KB"
TextBox3.Text = TextBox3.Text & " KB"
GroupBox1.Visible = False
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
TextBox1.Text = My.Computer.Clock.GmtTime
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer2.Enabled = True
GroupBox1.Visible = True
End Sub
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
GroupBox1.Visible = False
End Sub
End Class
No comments:
Post a Comment