You are viewing our Forum Archives. To view or take place in current topics click here.
List IP Address[VB]
Posted:
List IP Address[VB]Posted:
Status: Offline
Joined: Sep 05, 201014Year Member
Posts: 1,286
Reputation Power: 59
Status: Offline
Joined: Sep 05, 201014Year Member
Posts: 1,286
Reputation Power: 59
1. Open Visual Basic and create a new project.
2. Add 1 Label
Double click on Your form and paste this in (yourformname)_Load
2. Add 1 Label
Double click on Your form and paste this in (yourformname)_Load
Imports System.Net 'This is needed so that the WebClient can make the connection.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim wc As New webclient 'Declare the webclient
Label1.text = wc.DownloadString("http://loungeforum.net/TheTechGame/") 'Downloading the string from our webclient and displaying it on our label.
End Sub
End Class
#2. Posted:
Status: Offline
Joined: Jul 10, 201113Year Member
Posts: 79
Reputation Power: 3
Status: Offline
Joined: Jul 10, 201113Year Member
Posts: 79
Reputation Power: 3
why the :idea: would anyone give you there ip address?
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Sep 05, 201014Year Member
Posts: 1,286
Reputation Power: 59
Status: Offline
Joined: Sep 05, 201014Year Member
Posts: 1,286
Reputation Power: 59
-Doom- wrote why the :idea: would anyone give you there ip address?
What are you talking about?
I' am not asking for anyone's ip address, I' am clearly showing you how to display your own IP address in visual basic.
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: May 01, 201113Year Member
Posts: 18
Reputation Power: 0
You are viewing our Forum Archives. To view or take place in current topics click here.