![]() |
|
[.NET] Online Check - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] Online Check (/showthread.php?tid=4424158) |
Online Check - mnjx - Aug 31, 2014 Hello Guys ✌, im releasing a very simple but usefull tool. Picture : ![]() Code Public Class Form1-mnjx * - frawg - Aug 31, 2014 Thanks for sharing, will try it out now :) * - oRequiem - Aug 31, 2014 Try adding Themes man, you won't regret it. * - mnjx - Aug 31, 2014 (Aug 31, 2014 09:40 AM)oRequiem Wrote: Try adding Themes man, you won't regret it. Most of my Tools have Themes but these which im showing here are just for the Source Code Preview ✌ * - SaketSaket - Aug 31, 2014 Thanks for sharing.. will check it... ;) * - Yui Asuna - Aug 31, 2014 (Aug 31, 2014 09:20 AM)mnjx Wrote: I understand that you are willing to help beginners, but please... Code Public Class Form1Code Handles Button1.ClickCode My.Computer.Network.Ping(TextBox1.Text)The real problem here, is the use of the Microsoft.VisualBasic.MyServes namespace (In the form of My.*), which is a port of an old VB6 namespace, and thus shouldn't be used anymore (Heck, we are at .Net 4.5.1 dude). Just in term of dependencies, I believe (according to MSDN) that it requires the VB6 runtime to be ran. Not a big deal in anyway, just something to be pointed out. I can't be bothered to open up VS & to check for this, but in most cases, Microsoft.VisualBasic methods are wrappers for actual .Net function, and thus are not the best in term of optimization. Here is what you should use instead: http://msdn.microsoft.com/fr-fr/library/7hzczzed(v=vs.110).aspx This is in no way intended as an offense, I'm just pointing out what needs to be pointed out. * - MrTurtle77 - Sep 6, 2014 (Aug 31, 2014 05:04 PM)Yui Asuna Wrote: I understand that you are willing to help beginners, but please... Thank you so much for this, I was still using the 'my' method of pinging a network. But thanks to you, I was able to choose a range of different options that has helped me create many different network applications. 😁 * - He B TeMy - Sep 6, 2014 (Aug 31, 2014 05:04 PM)Yui Asuna Wrote: I can't be bothered to open up VS & to check for this, but in most cases, Microsoft.VisualBasic methods are wrappers for actual .Net function, and thus are not the best in term of optimization. Wrong, First you say it's an old Vb6 namespace, and then you say it's a wrapper for .net? lol. It's a wrapper for the WinAPI, just like .Net itself, everything is basically. You're correct when you said it shouldn't be used anymore, at least within .net. * - Source Coder - Sep 6, 2014 Thanks man the will be useful so you dont have to use online tools anymore :) * - SIM-1456245 - Sep 7, 2014 The title is missleading. I thought that it shows online status of a client. * - Centuries - Sep 7, 2014 Whats the difference of going to that website and seeing if it will work? * - MrTurtle77 - Sep 7, 2014 (Sep 7, 2014 04:58 PM)IronByte Wrote: Whats the difference of going to that website and seeing if it will work? Because this is a desktop application. Some people are lazy. 😉 |