![]() |
|
How to make a website ip finder. - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Visual Basic & .NET Framework (https://sinister.li/Forum-Visual-Basic-NET-Framework) +--- Thread: How to make a website ip finder. (/Thread-How-to-make-a-website-ip-finder) Pages:
1
2
|
How to make a website ip finder. - Ascension - 03-20-2013 Hey guys. This is my first tutorial for this site, i hope you like it! This is a basic tutorial about: How to make a website ip finder? Things you need: Visual basic 2010/2012 Layout: You will need to add: 2 labels, called: Website, IP. 2 Buttons, called: Get IP! , Cancel 2 Textboxes. It should be looking something like this: ![]() Now the coding part. Above 'Public Class Form1' we place the code: Imports System.net Code: Imports System.net
Public Class Form1After that we'll code the button. Double click on the button and enter this: Code: Dim Hostname As IPHostEntry = Dns.GetHostByName(TextBox1.Text)
Dim ip As IPAddress() = Hostname.AddressList
TextBox2.Text = ip(0).ToStringNow debug your program and try it out. It really works! My first tutorial ever made haha. I hope you guys appericiate it! And if my english isn't so well, i'm sorry. I'm only 14 years old and i'm dutch haha. RE: How to make a website ip finder. - zomgwtfbbq - 03-20-2013 I'd rather use the ping command tbh, but thanks for the share. RE: How to make a website ip finder. - Ascension - 03-20-2013 (03-20-2013, 03:59 PM)zomgwtfbbq Wrote: I'd rather use the ping command tbh, but thanks for the share.Ahh okay, thanks
RE: How to make a website ip finder. - zomgwtfbbq - 03-20-2013 (03-20-2013, 04:18 PM)Ascension Wrote:Graag gedaan mede NL-er.(03-20-2013, 03:59 PM)zomgwtfbbq Wrote: I'd rather use the ping command tbh, but thanks for the share.Ahh okay, thanks It's a good thing that you start this early on programming, you can become extremely good if you keep on learning and expanding your knowledge.
RE: How to make a website ip finder. - Ascension - 03-20-2013 (03-20-2013, 04:36 PM)zomgwtfbbq Wrote:Haha ook nederlands(03-20-2013, 04:18 PM)Ascension Wrote:Graag gedaan mede NL-er.(03-20-2013, 03:59 PM)zomgwtfbbq Wrote: I'd rather use the ping command tbh, but thanks for the share.Ahh okay, thanks ![]() And thanks, the designing part of visual basic is easy. But the coding part is a bit harder. I'm already learning the codes now. RE: How to make a website ip finder. - zomgwtfbbq - 03-20-2013 (03-20-2013, 04:58 PM)Ascension Wrote:You'll get there, practice makes perfect.(03-20-2013, 04:36 PM)zomgwtfbbq Wrote:Haha ook nederlands(03-20-2013, 04:18 PM)Ascension Wrote:Graag gedaan mede NL-er.(03-20-2013, 03:59 PM)zomgwtfbbq Wrote: I'd rather use the ping command tbh, but thanks for the share.Ahh okay, thanks RE: How to make a website ip finder. - Ascension - 03-20-2013 (03-20-2013, 05:00 PM)zomgwtfbbq Wrote:AKA Oefening baart kunst.(03-20-2013, 04:58 PM)Ascension Wrote:You'll get there, practice makes perfect.(03-20-2013, 04:36 PM)zomgwtfbbq Wrote:Haha ook nederlands(03-20-2013, 04:18 PM)Ascension Wrote:Graag gedaan mede NL-er.(03-20-2013, 03:59 PM)zomgwtfbbq Wrote: I'd rather use the ping command tbh, but thanks for the share.Ahh okay, thanks Sorry for dutch lol. RE: How to make a website ip finder. - The Alchemist - 03-20-2013 Simple. Just whats required to make a Cloudflare Resolver. RE: How to make a website ip finder. - Ascension - 03-20-2013 (03-20-2013, 05:04 PM)The Alchemist Wrote: Simple. Just whats required to make a Cloudflare Resolver. Thanks. Do you have a few ideas for more tutorials? About the basic of VB.NET RE: How to make a website ip finder. - ShawnReynolds - 07-01-2014 I tried this tutorial, and it was very good. I do have one question though, how do I get the cancel button to close the program? |