CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2012
    Posts
    1

    VB.Net Help Get data and split to listview from webbrowser

    Good day guys i need your help about my problem... i want to split the data from Webbrowser and display to Listview using VB.Net. the data that i want to split is this...

    HTML Code:
    <span class="fwb fcb">Today at 5:01pm</span>
    <a data-hover="tooltip" aria-label="Location estimated based on IP = 111.216.136.180" href="#" role="button"><span class="fcb">Bagumbayan, RIZ, PH</span></a>
    
    
    <span class="fwb fcb">Yesterday at 10:38pm</span>
    <a data-hover="tooltip" aria-label="Location estimated based on IP = 113.216.245.257" href="#" role="button"><span class="fcb">Bagumbayan, RIZ, PH</span></a>
    
    
    <span class="fwb fcb">January 12 at 4:23am</span>
    <a data-hover="tooltip" aria-label="Location estimated based on IP = 124.80.56.189" href="#" role="button"><span class="fcb">Cebu, CEB, PH</span></a>

    And output to the listview something like this...

    Today at 5:01pm | Location estimated based on IP = 111.216.136.180 | Bagumbayan, RIZ, PH
    Yesterday at 10:38pm | Location estimated based on IP = 113.216.245.257 | Bagumbayan, RIZ, PH
    January 12 at 4:23am | Location estimated based on IP = 124.80.56.189 | Cebu, CEB, PH

    is there any one can help for this? please help thanks and advance

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: VB.Net Help Get data and split to listview from webbrowser

    You'd need permission from the website to scrape their data...
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

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

Featured