It is a doubt in vb6.
wbrWebSite.Navigate txtUrl.Text wbrWebSite.Refresh Set doc = wbrWebSite.Document Header = LTrim(RTrim(doc.head.innerText))
I was trying to read the header of a webpage. But when i run it first time it is returning Pa not found. But when I debug it is returning the header even at the first time.
Please suggest a solution.