
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:
Private Sub wb_DocumentComplete(ByVal pDisp As Object, URL As Variant)
Dim MyDoc As mshtml.IHTMLDocument2
Set MyDoc = wb.Document
If Not MyDoc Is Nothing Then
MyDoc.All.Item("Email").Value = strUserName
MyDoc.All.Item("Passwd").Value = strPassword
MyDoc.Forms.Item("gaia_loginform").submit
End If
Set MyDoc = nothing
end sub