I'm trying to look through the source I do not need a integer but it is trying to convert to integer..
I may be over thinking this but here is my code
Dim sourceString As String = New System.Net.WebClient().DownloadString("website.html")
Dim value() As String = Split(sourceString, "<option value=", " >")
'Conversion from string " >" to type 'Integer' is not valid.'
not looking for some one to re-write my code but looking for what I am doing wrong and explain if possible.
Thank you
Split(), even if that wasn't your intention. The third (and optional) argument to split is an integer which limits how many items are split off. Since " >" isn't an integer, you get that error. @Dai is almost certainly right in the sense that parsing HTML on your own is both hard and error prone. Some wheels are best not reinvented.