Quote Originally Posted by dglienna
Post the page that you are having trouble with, and let theVader look at it.
I'm sure he'll be along. Also post any code that you are using, or having trouble with.
The webpage is gmail.com. I use below code to login. In the web control, it shows that I login successfully. And I can see these emails. If I use right-click->'view source', I can see the source which includes the information of these emails. However, How can I get this source in VB6 program? when I use MyDoc.body.innerHTML, gets nothing except a short notification.

thanks

VB Code:
  1. Private Sub wb_DocumentComplete(ByVal pDisp As Object, URL As Variant)
  2.    
  3.     Dim MyDoc As mshtml.IHTMLDocument2
  4.     Set MyDoc = wb.Document
  5.    
  6.             If Not MyDoc Is Nothing Then
  7.                 MyDoc.All.Item("Email").Value = strUserName
  8.                 MyDoc.All.Item("Passwd").Value = strPassword
  9.                
  10.                 MyDoc.Forms.Item("gaia_loginform").submit
  11.                
  12.            End If
  13.  
  14.     Set MyDoc = nothing
  15. end sub