![]() |
Display users IP Address[BASIC] - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Visual Basic & .NET Framework (https://sinister.ly/Forum-Visual-Basic-NET-Framework) +--- Thread: Display users IP Address[BASIC] (/Thread-Display-users-IP-Address-BASIC) |
Display users IP Address[BASIC] - Sapientia - 07-04-2013 Well first you want to create a form with one button, and one label.
Design it how ever you want. Go in to the Code View and at the top of your code place import System.Net Next, go back to design view and double click the button. Place this code. Code: 'Declare the webclient for downloading the string Start your program click the button and it should look like this: ![]() RE: Display users IP Address[BASIC] - Platinum - 07-08-2013 Only works if the user is connected to the internet though. RE: Display users IP Address[BASIC] - Helroos - 07-08-2013 Seems obvious. Internet features are not available if you are not connected to the internet. RE: Display users IP Address[BASIC] - Wet - 07-15-2013 Thank you for taking your time to write this! Great work ![]() |