Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BrandonSoft Network Status Checker
#1
The other day I was working on someone's computer whose internet would intermittently disappear. I had no way of tracking exactly when the internet would fail, however, so I created a piece of software that would do it for me. Behond, the BrandonSoft Network Status Checker. It also has a taskbar icon, so you don't have to have the annoying window open all of the time.


[attachment=6]<!-- ia6 -->networkstatuschecker3.png<!-- ia6 -->[/attachment]


Download it here (primary release version):
[attachment=1]<!-- ia1 -->NetworkStatusChecker0210bin.zip<!-- ia1 -->[/attachment]
[attachment=0]<!-- ia0 -->NetworkStatusChecker0210Setup.zip<!-- ia0 -->[/attachment]


Download previous versions:
[attachment=2]<!-- ia2 -->NetworkStatusChecker0206bin.zip<!-- ia2 -->[/attachment]
[attachment=3]<!-- ia3 -->NetworkStatusChecker206Setup.zip<!-- ia3 -->[/attachment]

[attachment=5]<!-- ia5 -->Network Status Checker0205bin.zip<!-- ia5 -->[/attachment]
[attachment=4]<!-- ia4 -->NetworkStatusChecker0205Setup.zip<!-- ia4 -->[/attachment]

[attachment=8]<!-- ia8 -->Network Status Checker.zip<!-- ia8 -->[/attachment]
[attachment=7]<!-- ia7 -->Network Status Checker Installer.zip<!-- ia7 -->[/attachment]

[attachment=11]<!-- ia11 -->Network Status Checker.zip<!-- ia11 -->[/attachment]
[attachment=10]<!-- ia10 -->Network Status Checker Installer.zip<!-- ia10 -->[/attachment]

[attachment=13]<!-- ia13 -->Network Status Checker.zip<!-- ia13 -->[/attachment]
[attachment=12]<!-- ia12 -->Network Status Checker Install.zip<!-- ia12 -->[/attachment]


Attached Files Thumbnail(s)
       

.zip   Network Status Checker.zip (Size: 59.06 KB / Downloads: 121)
.zip   Network Status Checker Install.zip (Size: 269.89 KB / Downloads: 122)
.zip   Network Status Checker.zip (Size: 60.43 KB / Downloads: 135)
.zip   Network Status Checker Installer.zip (Size: 417.38 KB / Downloads: 122)
.zip   Network Status Checker.zip (Size: 53.08 KB / Downloads: 110)
.zip   Network Status Checker Installer.zip (Size: 542.37 KB / Downloads: 97)
.zip   Network Status Checker0205bin.zip (Size: 54.65 KB / Downloads: 89)
.zip   NetworkStatusChecker0205Setup.zip (Size: 109.61 KB / Downloads: 89)
.zip   NetworkStatusChecker206Setup.zip (Size: 113.47 KB / Downloads: 81)
.zip   NetworkStatusChecker0206bin.zip (Size: 60.33 KB / Downloads: 81)
.zip   NetworkStatusChecker0210bin.zip (Size: 53.65 KB / Downloads: 102)
.zip   NetworkStatusChecker0210Setup.zip (Size: 108.62 KB / Downloads: 90)
My Blog | My Setup | My Videos | Have a wonderful day.
#2
This is a nice small application. Sometimes it takes a billion years for a website to load, so I am not sure if my connection is down or not (sometimes it doesn't shows that internet is down). I find this helpful. However, I think it could be even better. Here is a challenge for you; try making it so it recognizes if you are connected to LAN. For example, if I set my IP to 192.168.0.<any number bigger than 0> it recognizes that I am connected to LAN. That would make this application even more helpful/nicer, in my opinion. <!-- sBig Grin --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="Big Grin" title="Very Happy" /><!-- sBig Grin -->
Also known as Rocketalypse.
System.out.println("I prefer Java.");
#3
Oooo! That's a good idea! I'll see if I can implement that when I get a chance!
My Blog | My Setup | My Videos | Have a wonderful day.
#4
I have updated the version to include the following
[code2=text]-The program now checks the internet connection against a custom website, making loading faster
-The program now doesn't store cache, fixing rare problems where network disconnects wouldn't show
-Timer interval adjuster added
-LAN Connectivity status added[/code2]

Download it at the top of this thread (Version .0.1.0.2)
My Blog | My Setup | My Videos | Have a wonderful day.
#5
Good job! I like it. <!-- sSmile --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="Smile" title="Smile" /><!-- sSmile -->
Also known as Rocketalypse.
System.out.println("I prefer Java.");
#6
You should add this to it so it will show the external IP this is something i cooked up a while back for a server app

Code
[code2=vbnet]Public ExternalIP As String

Private Sub GetIp()
Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("http://www.pbaproductions.com/ip.php")
Dim response As System.Net.HttpWebResponse = request.GetResponse

Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream())
Dim regsource As String = sr.ReadToEnd

ExternalIP = regsource
End Sub[/code2]
Website: <!-- m --><a class="postlink" href="http://www.PBAProductions.com">http://www.PBAProductions.com</a><!-- m -->
E-Mail: <!-- e --><a href="mailtoTongueatrick@AriSystems.Org">Patrick@AriSystems.Org</a><!-- e -->
Skype: Qwaxer
Youtube: Qwaxer
[Image: 2hnx8av.jpg]
#7
Ah, awesome! Thanks for your input, Xolara! I will go ahead and add that in when I get the chance!
My Blog | My Setup | My Videos | Have a wonderful day.
#8
Annoying bug.

When the softare is run, it will always focus on it so whenever I write Java in Eclipse (or anything else anywhere) the focus keeps on going off of the current window I opened.
Also known as Rocketalypse.
System.out.println("I prefer Java.");
#9
Vinwarez Wrote:the focus keeps on going off of the current window I opened.
Do you have the program minimized when this is occurring? Or does this only occur when the program is in its normal state?
My Blog | My Setup | My Videos | Have a wonderful day.
#10
Even when it's opened and focused on BrandonSoft Network Status Checker, it unfocuses immediately. Basically, it happens all the time. You might've put some kind of code in the timer which sets focus on object that is not visible on the form.. or I don't know. It's weird.
Also known as Rocketalypse.
System.out.println("I prefer Java.");
#11
The main reason for this is because it actually uses a WebBrowser control to check the network. The program then becomes focused/unfocused when the webbrowser refreshes, I guess!

Thanks for the tip! I'll see if I can fix this.
My Blog | My Setup | My Videos | Have a wonderful day.
#12
Okay. No problem. <!-- sWink --><img src="{SMILIES_PATH}/icon_e_wink.gif" alt="Wink" title="Wink" /><!-- sWink -->
Also known as Rocketalypse.
System.out.println("I prefer Java.");
#13
can we have the source files????
#14
mnxford Wrote:can we have the source files????
I'm sorry, but this is not an open source piece of software, bu is instead something that I plan on releasing to the public in the future. With that being said, I do not plan on releasing the source coe anytime soon.

Edit: However, it should be fairly easy to replicate. All the program does is check to see if it is capable of downloading a text file from the world wide web.
My Blog | My Setup | My Videos | Have a wonderful day.
#15
External IP

vb.net
Code:
Public ExternalIP As String

    Private Sub GetIp()
        Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("http://www.brandonsoft.com/ip.php")
        Dim response As System.Net.HttpWebResponse = request.GetResponse

        Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream())
        Dim regsource As String = sr.ReadToEnd

        ExternalIP = regsource
    End Sub

php
Code:
<?php
$ip_address = $_SERVER['REMOTE_ADDR'];
echo "$ip_address";
Website: <!-- m --><a class="postlink" href="http://www.PBAProductions.com">http://www.PBAProductions.com</a><!-- m -->
E-Mail: <!-- e --><a href="mailtoTongueatrick@AriSystems.Org">Patrick@AriSystems.Org</a><!-- e -->
Skype: Qwaxer
Youtube: Qwaxer
[Image: 2hnx8av.jpg]
#16
Thanks a lot, Xolara! I was actually messing around with this functionality previously, but for some reason I could not get the correct IP Address from the PHP file. Maybe I was simply getting the wrong one, I don't know. But I didn't know that getting the IP was that simple! Thanks for sharing! I have added it to the newest version.
My Blog | My Setup | My Videos | Have a wonderful day.
#17
I have updated the program to include the following.
[code2=text]-External IP Address is now displayed on the network status line
-IP Address information is now displayed in the tooltip button's text[/code2]
My Blog | My Setup | My Videos | Have a wonderful day.
#18
It's been a while, eh? Well.. I realized the old method of tracking internet connections was a little unstable. So I rewrote it. Version .0205 changes:
[code2=text]-Added an initialization period to get stats about the net
-Changed method of checking from browsing the web to downloading a webpage
-Timeout period increased from 2 seconds to 4 seconds, this triggers a "Disturbance"
-New timeout period added at 10 seconds, this triggers a "Disconnect"
-Interval now saves through program shutdown
-Network check now operates on separate thread, allows program to be more reliable.
-Packaged the program with NSIS instead of ClickOnce[/code2]

There are several other small changes to. Go ahead and download it on the first post in this thread! Enjoy!
My Blog | My Setup | My Videos | Have a wonderful day.
#19
Don't you hate when you forget to do something in a version and then end up releasing it?

Version .0.2.0.6:
[code2=text]-Added forgotten "close" functionality when the "Exit" menu option is clicked from the taskbar icon[/code2]
My Blog | My Setup | My Videos | Have a wonderful day.
#20
Making things more efficient is always fun!

Version .0.2.1.0:
[code2=text]-Changes the default way of checking the internet connection to reading the IP address from a .php file
>If the .php file cannot be found, there is no internet connection available
>This eliminates the need to read from the .php file later[/code2]
My Blog | My Setup | My Videos | Have a wonderful day.


Forum Jump:


Users browsing this thread: 1 Guest(s)