Results 1 to 2 of 2

Thread: [VB6] Get External IP

Threaded View

  1. #1

    Thread Starter
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    [VB6] Get External IP

    A lot of people seem to ask this question, so I wrote this real quick.

    One benefit of this over most other external IP grabbers, is it should work on all sites without you having to change the code. Most other IP grabbers are hard-coded to work with specific HTML. If that site goes down or changes their HTML, then they won't work like they should.

    This can extract all IPs found on a website or just the first one it finds. I put all the code into a module so all you have to do is add the module to your project and call the ExtractIPs(HTML) function.

    I didn't use regular expressions for this because I didn't want to add an unnecessary dependency.
    Attached Files Attached Files

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