Hello, Im trying to remove a certain bit of text from my listbox item..
heres my code..
and when i start it and it tries to remove it, it comes up with an error saying
ive tried, this code..
heres my code..
VB.NET:
If ListBox1.Text.Contains(".zip") Then
ListBox1.Text = ListBox1.Text.Remove(".zip")
End If
and when i start it and it tries to remove it, it comes up with an error saying
VB.NET:
Conversion from string ".zip" to type 'Integer' is not valid.
ive tried, this code..
VB.NET:
If ListBox1.Text.Contains(".zip") Then
ListBox1.Text.Remove(".zip")
End If