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:

Sapientia
  • TTG Senior
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

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:
-Doom-
  • Junior Member
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?
#3. Posted:
Sapientia
  • TTG Senior
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.
#4. Posted:
kevvye
  • New Member
Status: Offline
Joined: May 01, 201113Year Member
Posts: 18
Reputation Power: 0
Status: Offline
Joined: May 01, 201113Year Member
Posts: 18
Reputation Power: 0
why not go to [ Register or Signin to view external links. ] ?
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.