Go Back   Gaming Gutter > Non-Gaming > Programming > Source Code


Source Code - Have a source code/project files you want to post? Do so here.

» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» Recent Threads
Go to first new post Whats your favorite song?
08-06-2008 09:53 PM
Last post by Seelyon
Today 05:04 AM
56 Replies, 387 Views
Go to first new post Left 4 Dead?
Today 04:59 AM
by Seelyon
Last post by Bex
Today 05:03 AM
1 Replies, 2 Views
Go to first new post MotM Nomination Thread #1
11-20-2008 08:08 PM
by nomhak
Last post by Bex
Today 05:02 AM
15 Replies, 117 Views
Go to first new post mOBSCENE's score sender...
Today 01:11 AM
Last post by Bex
Today 05:00 AM
8 Replies, 30 Views
Go to first new post Almost all types of...
Yesterday 12:09 AM
Last post by ninopino1
Today 05:00 AM
7 Replies, 57 Views
Reply
 
LinkBack Thread Tools Display Modes

 [vb6] IP grabber
Old 07-23-2008, 07:59 PM   #1 (permalink)
Site Programmer

Male Violent_J is offline
 
Violent_J's Avatar
 
Join Date: Nov 2006
Location: Sacramento, California
Age: 16
Posts: 933
GPoints: 469
iTrader: 5 / 100%
Violent_J Is Amongst RoyaltyViolent_J Is Amongst Royalty
Rep Power: 9
[vb6] IP grabber

Code:
Public Function GB(rC As String, rS As String, rF As String, Optional lgB As Long = 1) As String
    lgB = InStr(lgB, rC, rS) + Len(rS): GB = Mid$(rC, lgB, InStr(lgB, rC, rF) - lgB)
End Function

Private Sub cmdgetip_Click()

    Dim strIP As String
    txtip.Text = w.GetWrapper("http://whatsmyip.org/")
    strIP = GB(txtip.Text, "What's My IP Address? Your IP is", "</title>")
    txtip.Text = strIP

End Sub

Private Sub Form_Unload(Cancel As Integer)
    Dim frmTemp As Form
    For Each frmTemp In Forms
    Unload frmTemp
    Set frmTemp = Nothing
    Next
    End
End Sub
__________________



Current rep: 110
  Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -7. The time now is 05:10 AM.


vBulletin skin developed by: eXtremepixels
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.08899689 seconds (100.00% PHP - 0% MySQL) with 19 queries