16 Replies - 1442 Views - Last Post: 21 March 2013 - 07:14 AM
#1
tracker control
Posted 14 March 2013 - 03:44 AM
thank in advance..
Replies To: tracker control
#2
Re: tracker control
Posted 14 March 2013 - 06:01 AM
tamiltom, on 14 March 2013 - 04:44 AM, said:
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.
#3
Re: tracker control
Posted 14 March 2013 - 06:39 AM
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.
#4
Re: tracker control
Posted 14 March 2013 - 10:29 PM
lar3ry, on 14 March 2013 - 06:39 AM, said:
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.
#5
Re: tracker control
Posted 14 March 2013 - 10:41 PM
thanks in advance
i am waiting for your reply ...
#6
Re: tracker control
Posted 14 March 2013 - 10:56 PM
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.
#7
Re: tracker control
Posted 14 March 2013 - 11:45 PM
Thanks & Regrads
tamiltom
#8
Re: tracker control
Posted 15 March 2013 - 05:56 AM
#9
Re: tracker control
Posted 18 March 2013 - 04:04 AM
#10
Re: tracker control
Posted 18 March 2013 - 06:00 AM
Quote
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?
#11
Re: tracker control
Posted 18 March 2013 - 10:18 PM
lar3ry, on 18 March 2013 - 06:00 AM, said:
Quote
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?
#12
Re: tracker control
Posted 18 March 2013 - 10:27 PM
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
#13
Re: tracker control
Posted 19 March 2013 - 07:18 AM
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
#14
Re: tracker control
Posted 19 March 2013 - 10:39 PM
#15
Re: tracker control
Posted 19 March 2013 - 11:02 PM
tamiltom, on 19 March 2013 - 11:39 PM, said:
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
|
|

New Topic/Question
Reply



MultiQuote




|