i looked this up at microsoft its in vb net
my question is there away of doing this in vb6
thanks


Code:
Dim webclient As New System.Net.WebClient
Dim ip As String
ip = System.Text.Encoding.ASCII.GetString(( _
webclient.DownloadData("http://whatismyip.com/automation/n09230945.asp")))
TextBox1.Text = ip