Results 1 to 13 of 13

Thread: Read web page dynamically (Solved)

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2005
    Posts
    105

    Resolved Read web page dynamically (Solved)

    Hi

    I want to read some texts from a web page dynamially using VB6. This text is not same string every time, it is like a secret code subjected to change on each visit to this page.

    I was reading by tagname like:
    Code:
    Dim MySecretCode as String
    MySecretCode  = WebBrowser1.Document.getElementsByTagName("td").Item(4).innerText
    But whenever any modification occures in the webpage the item number 18 is changed so I want to findout the correct number and change this in my code or in database for every modification in the webpage

    So is there any trick to read the required text dynamically.

    In the web page there is a constant text in a cell before the cell of the secret code that I need to read.

    If it is possible to find out the item number of a cell based on the text in it, I think I can solve my problem, but I don't know how to find the item number dynamically

    I hope anybody can help me

    With regards,
    Nasreen
    Last edited by nasreen; Dec 24th, 2008 at 01:24 AM. Reason: Solved

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