VB6 WebBrowser extraction

Page 1 of 1

8 Replies - 861 Views - Last Post: 21 July 2017 - 08:13 PM Rate Topic: -----

#1 Solotech  Icon User is offline

  • New D.I.C Head

Reputation: -3
  • View blog
  • Posts: 4
  • Joined: 21-July 17

VB6 WebBrowser extraction

Posted 21 July 2017 - 08:47 AM

Hi,

I need to extract specific text from an HTML page that my code loads into a standard VB6 Classic WebBrowser.

In the HTML below, I need to extract 'AAAA8927738, BXBX4321786, GFHJ5432987 and JKYU43907688'

There are times that there are only 3 letters on the front of each of the data that I need. The data will be different each time, but always in the same location in the HTML.

The HTML extracts below are part of a 36kb-50kb long HTML file that my code loads.

Can anyone help, please.

<TD><A href="http://mydom.com/Abc/Box/F19.aspx?term_cd=OMSFT&amp;ctr_key=9985550&amp;LiveFlag=">AAAA8927738 </A></TD>

<TD><A href="http://mydom.com/Abc/Box/F19.aspx?term_cd=OMSFT&amp;ctr_key=9985550&amp;LiveFlag=">BXBX4321786 </A></TD>

<TD><A href="http://mydom.com/Abc/Box/F19.aspx?term_cd=OMSFT&amp;ctr_key=9985550&amp;LiveFlag=">GFHJ5432987 </A></TD>

<TD><A href="http://mydom.com/Abc/Box/F19.aspx?term_cd=OMSFT&amp;ctr_key=9985550&amp;LiveFlag=">JKYU43907688 </A></TD>

Thank you.

Regards,
TJ

Is This A Good Question/Topic? 0
  • +

Replies To: VB6 WebBrowser extraction

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 13495
  • View blog
  • Posts: 53,911
  • Joined: 12-June 08

Re: VB6 WebBrowser extraction

Posted 21 July 2017 - 08:53 AM

What site is it from?
Was This Post Helpful? 0
  • +
  • -

#3 Solotech  Icon User is offline

  • New D.I.C Head

Reputation: -3
  • View blog
  • Posts: 4
  • Joined: 21-July 17

Re: VB6 WebBrowser extraction

Posted 21 July 2017 - 08:58 AM

It's an Intranet site, although that shouldn't matter, of course.


View Postmodi123_1, on 21 July 2017 - 08:53 AM, said:

What site is it from?

Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 13495
  • View blog
  • Posts: 53,911
  • Joined: 12-June 08

Re: VB6 WebBrowser extraction

Posted 21 July 2017 - 09:00 AM

Well.. fun story, it does. I mean if this is some site that specifically says "hey - don't steal our data or consume bandwidth over a normal usage" it matters to them and to me. :^:
Was This Post Helpful? 0
  • +
  • -

#5 Solotech  Icon User is offline

  • New D.I.C Head

Reputation: -3
  • View blog
  • Posts: 4
  • Joined: 21-July 17

Re: VB6 WebBrowser extraction

Posted 21 July 2017 - 09:03 AM

It's my employers site that I am writing software for. A private work site that I cannot give the URL for. My question is to do with coding, not being accused of theft!
Was This Post Helpful? 0
  • +
  • -

#6 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 13495
  • View blog
  • Posts: 53,911
  • Joined: 12-June 08

Re: VB6 WebBrowser extraction

Posted 21 July 2017 - 09:05 AM

No one is accusing anyone of anything. Just four out of five times someone looking to scrape data from some site either over looks, or blows past, the terms of use. It is my due diligence to ask.

If this is your employer's site why are you not directly getting the information from the database?
Was This Post Helpful? 0
  • +
  • -

#7 Solotech  Icon User is offline

  • New D.I.C Head

Reputation: -3
  • View blog
  • Posts: 4
  • Joined: 21-July 17

Re: VB6 WebBrowser extraction

Posted 21 July 2017 - 09:08 AM

All I wanted was an answer to an innocent question. Delete this query and my membership. You're an a$$hole
Was This Post Helpful? -3
  • +
  • -

#8 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 13495
  • View blog
  • Posts: 53,911
  • Joined: 12-June 08

Re: VB6 WebBrowser extraction

Posted 21 July 2017 - 09:09 AM

Not a problem with that sort of over reaction.
Was This Post Helpful? 0
  • +
  • -

#9 no2pencil  Icon User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6552
  • View blog
  • Posts: 30,683
  • Joined: 10-May 07

Re: VB6 WebBrowser extraction

Posted 21 July 2017 - 08:13 PM

View PostSolotech, on 21 July 2017 - 12:03 PM, said:

It's my employers site that I am writing software for.

Does your employer know you are using VB6, you putz? LOL
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1