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:
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 webpageCode:Dim MySecretCode as String MySecretCode = WebBrowser1.Document.getElementsByTagName("td").Item(4).innerText
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




Reply With Quote