Results 1 to 2 of 2

Thread: webbroser fast help please i wait

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2011
    Posts
    3

    webbroser fast help please i wait

    this i know but this for when in listbox inside
    List2.AddItem Split(List1.Text, "http://google.com/")(1)

    but

    Text3.Text = WebBrowser1.document.body.innerText
    i want in text3.text this select and copy in listbox

    in text3.text
    google.com/vicky
    google.com/bunty
    google.com/simran
    google.com/meyou
    google.com/whyyou

    alwas diffrent diffrent name come backside but

    i want add in listbox

    vicky
    bunty
    simran
    meyou
    whyyou


    anyone help me

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Dunmow,Essex,England
    Posts
    898

    Re: webbroser fast help please i wait

    if you know that the name is always on the end of the line and it always preceeds a 'com/' then you should be able to use the string functions. using your examples, something like this will do it.

    Code:
    mid(WebBrowser1.document.body.innerText
    ,Instr(WebBrowser1.document.body.innerText, "com/",1) + 4,len(WebBrowser1.document.body.innerText) - Instr(WebBrowser1.document.body.innerText, "com/",1))

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width