Results 1 to 2 of 2

Thread: Getting your IP address:

  1. #1

    Thread Starter
    Hyperactive Member dflw's Avatar
    Join Date
    Apr 2001
    Location
    ct, usa
    Posts
    412

    Getting your IP address:

    Hi,

    How do I display the computer's IP address automatically? I know I can get my IP address by going into a msdos prompt and typing IPCONFIG, but is there an easier way to get it so i can display it on my program?
    Visual Basic 6, HTML, JavaScript, learning C++

  2. #2
    Hyperactive Member
    Join Date
    Oct 2001
    Location
    The Netherlands
    Posts
    403
    use the winsock control

    winsock1.localip should be it.
    Note: If you are in a network, it'll pass you the internel IP
    Last edited by Xa0z; Nov 4th, 2001 at 08:48 AM.

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