tracker control

  • (2 Pages)
  • +
  • 1
  • 2

16 Replies - 3945 Views - Last Post: 21 March 2013 - 07:14 AM Rate Topic: -----

#1 tamiltom  Icon User is offline

  • New D.I.C Head

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

tracker control

Posted 14 March 2013 - 03:44 AM

hi guys, i am new to vb.net so can any one tell how to use the tracker control in vb.net.. i need depth explanation like how i can implement the task manager performance in tracker control..


thank in advance..
Is This A Good Question/Topic? 0
  • +

Replies To: tracker control

#2 lar3ry  Icon User is offline

  • Coding Geezer
  • member icon

Reputation: 310
  • View blog
  • Posts: 1,290
  • Joined: 12-September 12

Re: tracker control

Posted 14 March 2013 - 06:01 AM

View Posttamiltom, on 14 March 2013 - 04:44 AM, said:

hi guys, i am new to vb.net so can any one tell how to use the tracker control in vb.net.. i need depth explanation like how i can implement the task manager performance in tracker control..

What, specifically, are you asking about? The Track control, the Trackbar control, FileTracker?
A bit of code that you've tried might help us figure out what you need.
Was This Post Helpful? 0
  • +
  • -

#3 lar3ry  Icon User is offline

  • Coding Geezer
  • member icon

Reputation: 310
  • View blog
  • Posts: 1,290
  • Joined: 12-September 12

Re: tracker control

Posted 14 March 2013 - 06:39 AM

Your reference to Task Manager had me baffled, so imagine my surprise when I found a reference to a tracker control that can implement something like the memory usage graph of Task Manager. The reference I found was a control written by someone who wanted to improve on the Task Manager, which of course is not a Microsoft control.

Anyway, it can be found here, with source code and an example program. If this is the one you are asking about, please let us know what sort of problem you are having with the code you've tried.
Was This Post Helpful? 0
  • +
  • -

#4 tamiltom  Icon User is offline

  • New D.I.C Head

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

Re: tracker control

Posted 14 March 2013 - 10:29 PM

View Postlar3ry, on 14 March 2013 - 06:39 AM, said:

Your reference to Task Manager had me baffled, so imagine my surprise when I found a reference to a tracker control that can implement something like the memory usage graph of Task Manager. The reference I found was a control written by someone who wanted to improve on the Task Manager, which of course is not a Microsoft control.

Anyway, it can be found here, with source code and an example program. If this is the one you are asking about, please let us know what sort of problem you are having with the code you've tried.

Was This Post Helpful? 0
  • +
  • -

#5 tamiltom  Icon User is offline

  • New D.I.C Head

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

Re: tracker control

Posted 14 March 2013 - 10:41 PM

hai lar3ry thanks, actually i am trying to develop project in vb.net that monitoring the system performance and network performance for instance how to implement the local host and remote host services. i would like to represent all the features graphically .. if you have suggestion please tell me and post your idea how to make the simple network monitoring application in vb.net. "for your representation (just see your cpu performance in task manager in your pc)"


thanks in advance
i am waiting for your reply ...
Was This Post Helpful? 0
  • +
  • -

#6 lar3ry  Icon User is offline

  • Coding Geezer
  • member icon

Reputation: 310
  • View blog
  • Posts: 1,290
  • Joined: 12-September 12

Re: tracker control

Posted 14 March 2013 - 10:56 PM

Well... those are a lot of things to do. My idea is that you can use the control to show the state of the things you want to monitor.

I don't see the code you've tried so far, though. We don't just write code for you. We enjoy helping you debug, structure, and polish your code.
Was This Post Helpful? 0
  • +
  • -

#7 tamiltom  Icon User is offline

  • New D.I.C Head

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

Re: tracker control

Posted 14 March 2013 - 11:45 PM

lar3ry, i post my project what i did til now , if you wish ...



Thanks & Regrads
tamiltom
Was This Post Helpful? 0
  • +
  • -

#8 lar3ry  Icon User is offline

  • Coding Geezer
  • member icon

Reputation: 310
  • View blog
  • Posts: 1,290
  • Joined: 12-September 12

Re: tracker control

Posted 15 March 2013 - 05:56 AM

View Posttamiltom, on 15 March 2013 - 12:45 AM, said:

lar3ry, i post my project what i did til now , if you wish ...

Well, sure, but I still don't see it.
Was This Post Helpful? 0
  • +
  • -

#9 tamiltom  Icon User is offline

  • New D.I.C Head

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

Re: tracker control

Posted 18 March 2013 - 04:04 AM

lar3ry,my project size is 9mb i am unable upload ... sorry for the inconvenience.


Thanks & Regrads
tamiltom

View Postlar3ry, on 15 March 2013 - 05:56 AM, said:

View Posttamiltom, on 15 March 2013 - 12:45 AM, said:

lar3ry, i post my project what i did til now , if you wish ...

Well, sure, but I still don't see it.

Was This Post Helpful? 0
  • +
  • -

#10 lar3ry  Icon User is offline

  • Coding Geezer
  • member icon

Reputation: 310
  • View blog
  • Posts: 1,290
  • Joined: 12-September 12

Re: tracker control

Posted 18 March 2013 - 06:00 AM

Quote

lar3ry,my project size is 9mb i am unable upload ... sorry for the inconvenience.

There's no inconvenience. I just don't have any advice I can give without further information from you.

Is there any way you can just copy and paste the part or parts that are giving you problems?
Was This Post Helpful? 0
  • +
  • -

#11 tamiltom  Icon User is offline

  • New D.I.C Head

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

Re: tracker control

Posted 18 March 2013 - 10:18 PM

View Postlar3ry, on 18 March 2013 - 06:00 AM, said:

Quote

lar3ry,my project size is 9mb i am unable upload ... sorry for the inconvenience.

There's no inconvenience. I just don't have any advice I can give without further information from you.

Is there any way you can just copy and paste the part or parts that are giving you problems?

Was This Post Helpful? 0
  • +
  • -

#12 tamiltom  Icon User is offline

  • New D.I.C Head

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

Re: tracker control

Posted 18 March 2013 - 10:27 PM

yeah sure lar3ry , i just made a simple netstat application and trace route using vb.net ... I just want to know how these thing are shown graphically which means like (cpu performance ).. I am waiting for your reply.. here is my code


Imports System.Net.NetworkInformation
Imports System.Net
Imports System.Windows.Forms.DataGridView

Public Class Form1

   
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim builder As New System.Text.StringBuilder
        Dim ipProps As System.Net.NetworkInformation.IPGlobalProperties = System.Net.NetworkInformation.IPGlobalProperties.GetIPGlobalProperties()
        For Each connection As System.Net.NetworkInformation.TcpConnectionInformation In ipProps.GetActiveTcpConnections

            DataGridView1.ColumnCount = 4
            DataGridView1.Columns(0).Name = "PORT"
            DataGridView1.Columns(1).Name = "Local Address"
            DataGridView1.Columns(2).Name = "Foreign Address"
            DataGridView1.Columns(3).Name = "State"
            DataGridView1.Rows.Add("TCP", connection.LocalEndPoint, connection.RemoteEndPoint, connection.State, Environment.NewLine)
        Next


    End Sub

   

    
    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Dim p As New Process()
        Dim pInfo As New ProcessStartInfo()
        pInfo.UseShellExecute = False
        pInfo.RedirectStandardOutput = True
        pInfo.Arguments = TextBox1.Text
        pInfo.WorkingDirectory = "C:\windows\system32"
        pInfo.FileName = "tracert"
        p.StartInfo = pInfo
        p.Start()
        Dim sr As System.IO.StreamReader = p.StandardOutput
        Dim sb As New System.Text.StringBuilder("")
        Dim input As Integer = sr.Read()
        While input <> -1
            sb.Append(CChar(ChrW(input)))


            input = sr.Read()
        End While


        MessageBox.Show(sb.ToString())
    End Sub
End Class




Thanks & Regrads,

Tamiltom
Was This Post Helpful? 0
  • +
  • -

#13 lar3ry  Icon User is offline

  • Coding Geezer
  • member icon

Reputation: 310
  • View blog
  • Posts: 1,290
  • Joined: 12-September 12

Re: tracker control

Posted 19 March 2013 - 07:18 AM

I don't see anything there that would be best displayed as a moving graph. You are just getting one-time things, like all the TCP connections.

You might want to look into the IPGlobalProperties Class at the MSDN site. With that, preferably running periodically on a timer, you can grab the IPv4 and IPv6 statistics, like packets received, transmitted, discarded, etc. Then you can tie the values (or the calculated values, like network speeds, etc.) to a tracker like the one I posted the link to.

This post has been edited by lar3ry: 19 March 2013 - 07:19 AM

Was This Post Helpful? 0
  • +
  • -

#14 tamiltom  Icon User is offline

  • New D.I.C Head

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

Re: tracker control

Posted 19 March 2013 - 10:39 PM

thanks but actually i am not looking for this,okay you forgot all the above things..you just tell how i made a simple network traffic monitoring application that should show graphically using vb.net..


:helpsmilie:
Was This Post Helpful? 0
  • +
  • -

#15 lar3ry  Icon User is offline

  • Coding Geezer
  • member icon

Reputation: 310
  • View blog
  • Posts: 1,290
  • Joined: 12-September 12

Re: tracker control

Posted 19 March 2013 - 11:02 PM

View Posttamiltom, on 19 March 2013 - 11:39 PM, said:

thanks but actually i am not looking for this,okay you forgot all the above things..you just tell how i made a simple network traffic monitoring application that should show graphically using vb.net..

OK, but could you tell me how you would like the TCP connections to be graphically shown? You want something like CPU performance in Task Manager, but how do you expect the connection info (port, state, local, remote) to be shown as a moving graph? How do you expect the tracert data to be shown as a moving graph?

About the only thing you can show about a network with a similar display to CPU performance in Task Manager is traffic; total, speed, average speed, ping times and so on.

I think we probably have a communication problem.

This post has been edited by lar3ry: 19 March 2013 - 11:05 PM

Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2