flameswor10 (08-15-2010)
Visual Basic 2008 Tutorial!
Website To IP
Hey guys, Bloody here, and in this simple tutorial, I'm going to show you how to create a simple application using Visual Basic 2008.net
I'm going to teach you how to make a website to IP by pinging the site.
This is were you type in a website such as Google and when you click a button, it shows you the IP of the website.
This can be very useful for quickly finding IP's of websites without having to go to CMD. This can also be an additional tool to a shell booter if you decided to make one, anyway, on with the tutorial.
1) Firstly, open up Visual Basic 2008 and create a new project, call it something like "Website to IP"
2) Secondly, add a button and two textbox's from the toolbar.
You should have something similar to this;
3) Make your application look neater by adjusting your tools on the application so you can create an application which looks like this;
To create the text on the button and application click on the bar were it says "Form 1" and go to the properties bar which should show up and were it says "text" call it whatever you want. The same applys for the button, click it, and go to the properties and look for "Text" and change the text to Get IP
4) Time for the coding.
Double click button 1 and type the following code in;
Firstly, were it says Public Class Form 1, type above that
Imports System.Net.NetworkInformation
Now type below Private Sub Button1_click
Try
Dim Pinger As New Ping
Dim PingerReply As PingReply
PingerReply = Pinger.Send(TextBox1.Text)
TextBox2.Text = PingerReply.Address.ToString
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical)
End Try
Your coding should look like this;
Now press the debug button at the bar on the top and test it out;
Neating Up The Application
Okay, the codings done, now time to add those little features which makes the application a lot better.
Click on textbox2 but dont double click and go to the properties bar, and look for read only and make it "True"
And make the BackColour be "Window"
This makes it so you cant type in Texbox2 which is were the IP will be shown, your application should now look similar to this.
Thank You For Reading this Tutorial, if you have any questions or concerns feel free to reply on this thread or send me a PM.
Also, if this helped you, please post constructive comments.
Also guys, this is my first tutorial so it might not be very good, but I made the effort!
Thanks.
flameswor10 (08-15-2010)
Nice try dude. It's kinda simple and is great. + thanked
No I do not make game hacks anymore, please stop asking.
Simply but nicely done. Good
note, it does not work for all websites!!!
EX: maximnapadiy.com IP: 207.182.145.229
IP reroutes to http:/t hos*****m/paid-hosting/paidhostingplans
~link approved by nextgen1
i saw this somewhere. accoually if its your GJ. (i got CMD fucked up so ...)
hmm there is a lot of tutorial like that
can u give the credits?
CANNIBAL CORPSE P0WNS
NextGen1 (08-17-2010)