Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Network Bandwidth monitor - VB.Net

I actually need a help! I have proposed the application. I designed the layout and some function to fetch all the available network adapter.

I want to display the network traffic in-out/download-upload in a graph (Line Graph, Bar Chard, etc)

[img]http://img840.imageshack.us/img840/4254/networkbandwidth.png[/img]


You can download the source which I programmed (only yet 10%) and can have a look, if it is interesting, please help me.

Download the Source

For the password, please post on the thread first. I will PM you.

Here is the proof that this is not a virus!

Code
Public Class frmMain
    Private WLength As Integer, WHeight As Integer, scale As Integer

    Private Sub ExitToolStripMenuItem_Click(sender As System.Object, e As System.EventArgs) Handles ExitToolStripMenuItem.Click
  Try
    End
  Catch ex As Exception
    MsgBox(String.Format("Error Occured while closing the program!{0}{0}{1}", vbCrLf, ex), MsgBoxStyle.Exclamation, "Error - App Closing")
  End Try
    End Sub

    Private Sub AboutToolStripMenuItem_Click(sender As System.Object, e As System.EventArgs) Handles AboutToolStripMenuItem.Click
  Try
    MsgBox(String.Format("Programmed and Designed by :{0}{0}Vanlalruata Hnamte{0}[email protected]{0}www.zosoftnet.com", vbCrLf), MsgBoxStyle.Information, "About!")
  Catch ex As Exception
    MsgBox(String.Format("Error Occured while trying to open about-message!{0}{0}{1}", vbCrLf, ex), MsgBoxStyle.Exclamation, "Error - About Load")
  End Try
    End Sub

    Private Sub frmMain_FormClosing(sender As Object, e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
  Try
    My.Settings.MyLocation = Me.Location
    My.Settings.MySize = Me.Size
    My.Settings.MyBackColor = Me.BackColor
    My.Settings.IsFirstRun = False
    My.Settings.MyTransperancyLevel = Me.Opacity
    My.Settings.Save()
    Me.NotificationAreaApp.Dispose()
  Catch ex As Exception
    MsgBox(String.Format("Error Occured while closing the Form!{0}{0}{1}", vbCrLf, ex), MsgBoxStyle.Exclamation, "Error - About Load")
  End Try
    End Sub

    Private Sub frmMain_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
  Try
    Me.Opacity = My.Settings.MyTransperancyLevel
    Me.Location = My.Settings.MyLocation
    Me.Size = My.Settings.MySize
    Me.BackColor = My.Settings.MyBackColor

    Dim monitor As New NetworkMonitor()

    If monitor.Adapters.Length > 0 Then

    End If

  Catch ex As Exception
    MsgBox(String.Format("Error Occured while trying to open the Form!{0}{0}{1}", vbCrLf, ex), MsgBoxStyle.Exclamation, "Error - About Load")
  End Try
    End Sub

    Private Sub frmMain_Resize(sender As Object, e As System.EventArgs) Handles Me.Resize
  Try
    If ClientSize.Width > 40 AndAlso ClientSize.Height > 40 Then
    WLength = ClientSize.Width
    WHeight = ClientSize.Height
    End If
  Catch ex As Exception
    MsgBox(String.Format("Error Occured while trying to resize the form!{0}{0}{1}", vbCrLf, ex), MsgBoxStyle.Exclamation, "Error - About Load")
  End Try
    End Sub

    Private Sub PictureBox1_MouseHover(sender As Object, e As System.EventArgs) Handles PictureBox1.MouseHover
  Try
    Me.CloseButton.Visible = True
  Catch ex As Exception
    MsgBox(String.Format("Error Occured!{0}{0}{1}", vbCrLf, ex), MsgBoxStyle.Exclamation, "Error - About Load")
  End Try
    End Sub

    Private Sub PictureBox1_MouseLeave(sender As Object, e As System.EventArgs) Handles PictureBox1.MouseLeave
  Try
    Timer1.Start()
  Catch ex As Exception
    MsgBox(String.Format("Error Occured!{0}{0}{1}", vbCrLf, ex), MsgBoxStyle.Exclamation, "Error - About Load")
  End Try
    End Sub

    Private Sub CloseButton_Click(sender As System.Object, e As System.EventArgs) Handles CloseButton.Click
  Me.Hide()
    End Sub

    Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick
  Try
    Me.CloseButton.Visible = False
    Timer1.Stop()
  Catch ex As Exception
    MsgBox(String.Format("Error Occured!{0}{0}{1}", vbCrLf, ex), MsgBoxStyle.Exclamation, "Error - About Load")
  End Try
    End Sub
End Class
Hey, could i maybe have the password? Thanks in advance! :)
Very nice, can you send me the passwort plz? Thanks a lot!
could i have the password please....
Can i have the password? :) Thanks for the nice share :D
Looks amazing, never seen this bevore in VB.Net!
May I get the password please?
Now the file has been updated to choose the adapter list....The Password is still the same!
May i have the password please? Thanks ;)
may i have the password please? it looks very niice
So this doesn't actually do anything yet .. why did you post this?
Don't put everything inside try..catch statements. -.- MessageBox.Show is not going to throw an exception, no need to create a handler for it along with a lot of other stuff. Only use it where you predict there might be an error.
Probably coding some useless shit.
Thanks for the release I will defently be using this :D
Thank you for sharing. This looks like it was a fun project. ^_^
Hey, can you please give me the Password for this?
Looks interesting.
This looks amazing, can I get the password? You have done an excellent job.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by taktaktakJan 17, 2016 10:29 PM 26 1,028 Jan 17, 2016 10:29 PM
Last Post: Dangerous Beef
[Python] by sulphurNov 23, 2015 01:04 PM 4 259 Nov 23, 2015 01:04 PM
Last Post: hwchief
[Shell] by b00st3dApr 12, 2015 09:22 PM 7 288 Apr 12, 2015 09:22 PM
Last Post: b00st3d