Getting Info from Webpage RRS feed

  • Question

  • Hello Guys and Gal,

    This is based on a previous question i had but never got answered so i am going to ask a new question with a different scenario. I am trying to get info of a WebPage(WebBrowser1). That contains multiple info separated by ";", now what I'm trying to do is get Curtain info out of the WebPage lets say the info is as following:


    *not the real words im trying to find.

    Now what im trying to find are the numbers and letters after tsaid, and also the numbers of bsaid till the ";"
    and i want to store them in variables. tsaid in variable called sessid and bsaid in fsessid.

    *Thank you in Advanced,

    Shane Graham.

    Sunday, January 11, 2009 2:14 AM


  • I have figured it out.

    Dim theString as string = Webbrowser1.document.text

    Dim sessid as string = theString.SubString(theString.IndexOf("tsaid="),38)

    Dim fsessid as string = theString.SubString(theString.IndexOf("bsaid="),24)

    • Marked as answer by shane graham Sunday, January 11, 2009 5:06 AM
    Sunday, January 11, 2009 5:06 AM