Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Display computer IP

Display computer IP

Scheduled Pinned Locked Moved Visual Basic
csharptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    GaryKoh
    wrote on last edited by
    #1

    hi i want to know how to display a computer IP there is a thread that mention this before and i have try the coding posted im not sure what i did wrong but i cant display anything im using VB6 and VB.net so either code will be fine for me thank you in advance Gary

    D 1 Reply Last reply
    0
    • G GaryKoh

      hi i want to know how to display a computer IP there is a thread that mention this before and i have try the coding posted im not sure what i did wrong but i cant display anything im using VB6 and VB.net so either code will be fine for me thank you in advance Gary

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      You'll have to use WMI and the System.Management namespace to get the all the IP addresses that all the NIC in the machine are using. I can't give you any sample code right now because I just don't have the time. What was the link to the previous article with the code that you are using? If you post code, make sure you put it between

      and

      tags. Also, make sure that you check the little box at the bottom of the message post window that says "Do not treat <'s as HTML tags." RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups