1 Replies - 2616 Views - Last Post: 22 March 2013 - 06:48 AM

#1 tamiltom  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 20
  • Joined: 14-March 13

Performance counter in vb.net

Posted 22 March 2013 - 03:06 AM

hi guys finally i made CPU performance counter graphically in vb.net .... Thanks for encouraging me ..And special Thanks to lar3ry who supported me a lot ...
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Timer1.Start()


    End Sub

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        
        Tracker1.Value = CInt(Fix(PerformanceCounter1.NextValue()))
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Timer1.Stop()
    End Sub

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub
End Class




NOTE: Download the Tracker control.dll file ..Here

Is This A Good Question/Topic? 0
  • +

Replies To: Performance counter in vb.net

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9199
  • View blog
  • Posts: 34,569
  • Joined: 12-June 08

Re: Performance counter in vb.net

Posted 22 March 2013 - 06:48 AM

Moving from VB.NET to 'share your project'.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1