Results 1 to 11 of 11

Thread: getting ip thru computer name

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    getting ip thru computer name

    how can i get the ip of a computer. i can get their computer name. what i want is when i click on their computer name the corresponding ip will appear.
    i have this project like a chat stuff, other computers can communicate with each other, but on this one computer, it can receive a message. then i try typing it ip then boom, its ok.

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: getting ip thru computer name

    kulitag,

    Most of what you want you will find in the Microsoft Networking SDK (it's free). Go to the MS website, download and install it.

  3. #3
    Member
    Join Date
    Jul 2004
    Location
    Pakistan
    Posts
    35

    Re: getting ip thru computer name

    Try the Following:

    http://www.vbcode.com/code/WhoIs01202003.zip

    Hope it will help you

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    Re: getting ip thru computer name

    Quote Originally Posted by randem
    kulitag,

    Most of what you want you will find in the Microsoft Networking SDK (it's free). Go to the MS website, download and install it.
    sorry but i have a low internet connection so i don't think it will take me too long

  5. #5
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: getting ip thru computer name


  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    Re: getting ip thru computer name

    nope, i have a list of all the computers on my listbox. what i want is if i click the computer name then the ip of that computer will display on my label

  7. #7
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: getting ip thru computer name

    Can't you PING the computer to get it's IP address?

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    Re: getting ip thru computer name

    Quote Originally Posted by dglienna
    Can't you PING the computer to get it's IP address?
    oops sorry for being a newbie!
    i already have all the computers on my workgroup, i just want its corresponding ip whenever i click it on my listbox and display it on a label

  9. #9
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: getting ip thru computer name

    I hope these helps...
    Link1
    Link2
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  10. #10
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: getting ip thru computer name

    If you ping the computer name, it will resolve the IP address. I saw something in the second link given that said it wouldn't work in a workgroup. only with a domain

  11. #11
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: getting ip thru computer name

    Try this....
    Attached Files Attached Files
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width