Current location: Hot Scripts Forums » Programming Languages » Visual Basic » Refresh IP Address


Refresh IP Address

Reply
  #1 (permalink)  
Old 04-16-05, 03:30 AM
thorchan thorchan is offline
New Member
 
Join Date: Mar 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Refresh IP Address

I'm working a DDNS system as my school project.Now I use VB 6.0 TO develop a client and I need to refresh the IP address after the IP is changed. Here are my codes:
Code:
VB Code for my program:
Private Sub form_load()
txtIP.Enabled = False
txtIP.Text = Winsock1.LocalIP
End Sub

Private Sub Timer1_Timer()
main.Refresh
Dim subdomainid As String
Dim ip As String
subdomainid = txtSubid.Text
ip = txtIP.Text
WebBrowser1.Navigate "http://ireiro.com/client_update.php?subid=" & subdomainid & "&a=" & ip
txtIP.Text = Winsock1.LocalIP
End Sub
Can any body give me some idea on this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ip of machine on network Sowhat PHP 5 04-11-05 08:29 AM
Get IP Address dihan JavaScript 10 04-03-05 11:54 AM
Regular Expression IP Address Replacement CMIVXX PHP 3 11-20-04 08:27 AM
1 ip address only aemobile PHP 2 11-16-04 06:24 PM


All times are GMT -5. The time now is 01:10 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.