OLE automation Internet explorer

Fuga

Registered User.
Local time
Today, 23:20
Joined
Feb 28, 2002
Messages
566
Hi.

Normally I use the ldownload function to retrieve html source from the web, but I seem to run into problems when the page is a secure page (i e you have to log in). Even if you´re logged in, the ldownload doesn´t seem to get the data that is there.

If I´m wrong on this I would greatly appreciate if someone could tell me what I´m doing wrong.

Now if I´m right, I want to use OLE to control Internet explorer, but I need some basic help. From ms kb, I got so that I can navigate to a page, but how do I save the source as a text file? I can´t find it in the object browser, and no "suggestions" comes up when I type in the moduel window.

Thank you.


Fuga.

Code:
Sub test()
      Dim Explorer As Object

      Set Explorer = CreateObject("InternetExplorer.Application")
      Explorer.Navigate "http://www.microsoft.com"
      Explorer.Visible = True
      ***here´s where I need help***

End Sub
 
Which reference do you use to declare an internet explorer object?
 

Users who are viewing this thread

Back
Top Bottom