I have a problem while making my skype resolver, when it resolves an ip the text comes out like this ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,SERVER 1: 124.169.179.116 - Skype4Resolver.com" (btw the "," are spaces... stackoverflow doesn't show them.) when this happeneds it makes the text go unseen and out of the textbox. can anyone help? i want to filter out the spaces and anything that isnt part of the ip. here is my code:
Imports System.Net
Public Class Form2
Private Sub Label1_Click(sender As Object, e As EventArgs) Handles Label1.Click
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
WebRequest.Create("http://api.skype4resolver.com/api.php?key=free&username=" + TextBox1.Text + "&server=1")
TextBox2.Text = New System.Net.WebClient().DownloadString("http://api.skype4resolver.com/api.php?key=free&username=" + TextBox1.Text + "&server=1")
End Sub
Private Sub TextBox2_TextChanged(sender As Object, e As EventArgs) Handles TextBox2.TextChanged
End Sub
End Class