Results 1 to 15 of 15

Thread: Internet Explorer_Server class window

Threaded View

  1. #10

    Thread Starter
    PowerPoster
    Join Date
    Aug 2005
    Location
    College Station, TX
    Posts
    4,521

    Re: Internet Explorer_Server class window

    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:
    VB Code:
    1. 'hwndTmpGetIE is the handle to the Internet Explorer_Class window....
    2. Dim i As IHTMLDocument = ieDom.IEDOMFromhWnd(hwndTmpGetIE)
    3. strHTML = Strings.LCase(i.documentElement.innertext.ToString)
    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..)

    **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...
    Attached Files Attached Files
    Last edited by gigemboy; Jan 13th, 2006 at 12:39 PM.

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