Here's the code where you can get the information into a string from the class window hwnd.. its in an IEdom class and in a win32 functions class... to get the html into a string, you just call the following:
And the two classes are attached below (the win32 functions class has more declarations that is actually used, its just a common class I use that I put my API functions in..)VB Code:
'hwndTmpGetIE is the handle to the Internet Explorer_Class window.... Dim i As IHTMLDocument = ieDom.IEDOMFromhWnd(hwndTmpGetIE) strHTML = Strings.LCase(i.documentElement.innertext.ToString)
**Note been a while since I used this code, and it might be a little messy because I was just first beginning when I wrote it...




Reply With Quote