PEHLA KALMA

PEHLA KALMA
Sanaullah Sajid Mukhtiar

How get computer details with visual basic

                                                  Visual basic
 Friend today i tell you how get computer details with visual basic.

Language in urdu.
Bhaio ma ap sy kuch knowledge share karny laga hu is ma kisi kism ki help chahe hu comment karna ma jald sy jald ap ky comment ka jwab du ga.
agr mary kisi coding ma masla huwa zaror btana taky ma usy theek kar saku.
Agr mari post psand aye tu zaror btana ta ky ma asi or bi post share kr sako.

For more visual basic code visit this website : Visual Basic


step1.

Add 2 butten.
Add 6 textbox.

Chang name butten1 "show details"
Chang name butten2 "clear"


Step2.

Add code in butten1.

        TextBox1.Text = My.Computer.Name
        TextBox2.Text = My.User.Name
        TextBox3.Text = My.Computer.Info.OSFullName
        TextBox4.Text = My.Computer.Keyboard.CapsLock
        TextBox5.Text = My.Computer.Mouse.WheelExists
        TextBox6.Text = My.Computer.Screen.WorkingArea.ToString



Step3.

add code in butten2.

        TextBox1.Clear()
        TextBox2.Clear()
        TextBox3.Clear()
        TextBox4.Clear()
        TextBox5.Clear()
        TextBox6.Clear()


Complete form code.

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        TextBox1.Text = My.Computer.Name
        TextBox2.Text = My.User.Name
        TextBox3.Text = My.Computer.Info.OSFullName
        TextBox4.Text = My.Computer.Keyboard.CapsLock
        TextBox5.Text = My.Computer.Mouse.WheelExists
        TextBox6.Text = My.Computer.Screen.WorkingArea.ToString
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        TextBox1.Clear()
        TextBox2.Clear()
        TextBox3.Clear()
        TextBox4.Clear()
        TextBox5.Clear()
        TextBox6.Clear()
    End Sub

End Class


Thanks visit my website.
visual basic all code in labels "vb," my website.
If you download visual basic Projects click on download.

File information.
Data in             zip
File size          :60.19kb
Zip password :ssm7 

                                                           File only for visual basic 2008 and 2010
                                                              DOWNLOAD