Densyy Posted June 23, 2012 Report Share Posted June 23, 2012 Bom pessoalpreciso que o vb6 capture em uma variavel o ip fornecido no site www.meuip.com.brjá tentei usar um trilhao de coisas mas n deu certose alguém poder ajudar Ficarei muito grato :rolleyes: Quote Link to comment Share on other sites More sharing options...
0 Densyy Posted June 26, 2012 Author Report Share Posted June 26, 2012 Bom pra quem tiver essa duvida eu resolvi aqui criando uma funçãozinha ^^Dim Texto As String Private Sub Command1_Click() WebBrowser1.Navigate ("www.meuip.com.br") End Sub Private Sub Command2_Click() Texto = WebBrowser1.Document.documentElement.outerHTML Text1.Text = Texto STRip = Text1.Text vetorip = Split(STRip, "</") Text1.Text = vetorip(0) STR1 = Text1.Text vetor = Split(STR1, "?") Text1.Text = vetor(1) End SubAdd 2 Commands , 1 WebBrowser , 1 TextboxEstou agora com outra duvida É possivel pegar o código fonte de uma pagina usando o Inet?se é como posso fazer isso? Quote Link to comment Share on other sites More sharing options...
Question
Densyy
Bom pessoal
preciso que o vb6 capture em uma variavel o ip fornecido no site www.meuip.com.br
já tentei usar um trilhao de coisas
mas n deu certo
se alguém poder ajudar
Ficarei muito grato :rolleyes:
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.