Results 1 to 4 of 4

Thread: My IP Address

  1. #1
    Guest

    Post

    How do I find out my computer's current IP address?

    My ISP gives me a new one each time I connect, but I don't want the program to throw a wobbler if I am not connected and therefored don't have one. (I also don't want it to try and connect to the internet either!)

    ------------------
    Matthew Ralston
    E-Mail: [email protected]
    ICQ:31422892
    Web Sites:The Blue Link My Home Page

  2. #2
    Lively Member Ishamel's Avatar
    Join Date
    Nov 1999
    Location
    Edinburgh, Scotland
    Posts
    112

    Post

    You can try looking at 'Bank 13' on the VB Advanced section of this site.

    http://dialspace.dial.pipex.com/town...1/vbrcvb.shtml

    There's quite a lot of code, so the chances are there will be an easier way to do it.


    ------------------
    Ishamel
    [email protected]



    [This message has been edited by Ishamel (edited 12-17-1999).]

  3. #3
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    Stick a Winsock Control on your Form, then look at the LocalIP Property.

    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]

  4. #4
    Lively Member Ishamel's Avatar
    Join Date
    Nov 1999
    Location
    Edinburgh, Scotland
    Posts
    112

    Post

    Well...that is bit easier.

    ------------------
    Ishamel
    [email protected]


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