How would I view the ie5 html code 
Author Message
 How would I view the ie5 html code

Hi
I am able to (vb5) enumproc thru on-screen windows and find
the windowtext for microsoft internet explorer.
What class name would I use and how would I view the text/html code
displaying the ms internet explorer window.
Wayne


Thu, 27 Jun 2002 03:00:00 GMT  
 How would I view the ie5 html code
Use the IE automation. Add a reference to Microsoft Internet Controls and
use the following code:

Dim IEWindows As ShellWindows, IE As InternetExplorer

   Set IEWindows = New ShellWindows

   For Each IE In IEWindows

      If TypeName(IE.Document) = "HTMLDocument" Then
         MsgBox IE.Document.body.outerHTML, , IE.LocationURL
      End If

   Next

--
Eduardo A. Morcillo
http://www.geocities.com/SiliconValley/Foothills/9940

Quote:
> Hi
> I am able to (vb5) enumproc thru on-screen windows and find
> the windowtext for microsoft internet explorer.
> What class name would I use and how would I view the text/html code
> displaying the ms internet explorer window.
> Wayne



Fri, 28 Jun 2002 03:00:00 GMT  
 How would I view the ie5 html code
Eduardo
Thank-you, this worked great
How would I do the same thing with netscape navigator
and could you suggest a good reference source related
to this area.
Wayne



Quote:
> Use the IE automation. Add a reference to Microsoft Internet Controls and
> use the following code:

> Dim IEWindows As ShellWindows, IE As InternetExplorer

>    Set IEWindows = New ShellWindows

>    For Each IE In IEWindows

>       If TypeName(IE.Document) = "HTMLDocument" Then
>          MsgBox IE.Document.body.outerHTML, , IE.LocationURL
>       End If

>    Next



Fri, 28 Jun 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. viewing reports in HTML format in IE5

2. Viewing word documents in IE5

3. GPF closing IE5 after viewing page with USercontrol

4. Newbie CR9 and viewing with IE5

5. IE5 and scripted HTML

6. how to send html page with VB like with IE5

7. HTML IE4 vs IE5

8. Can't open VB.NET form in design view (only get code view)

9. How to open HTML file from VB6 code and let this HTML file show up

10. How to open HTML file from VB6 code and make this HTML file show up

11. IE5 to VB to IE5

12. Regular Expressions in IE5.5 vs IE5

 

 
Powered by phpBB® Forum Software