[RESOLVED] is there a way to do this in vb6
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
Re: is there a way to do this in vb6
Add the Microsoft Internet Transfer Control component to your project. Place the Inet control on your form and
Code:
Private Sub Form_Load()
Text1.Text = Inet1.OpenURL("http://whatismyip.com/automation/n09230945.asp")
End Sub
Re: is there a way to do this in vb6