
January 28th, 2004, 05:33 PM
|
|
Registered User
|
|
Join Date: Jan 2004
Posts: 6
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Accessing the Web via VB6 (Automation Error!)
Hi,
I am writing a Visual Basic 6.0 application to read a website and parse some data.
I keep getting Automation Errors pn the following code.
Dim Web As New SHDocVw.InternetExplorer
Dim Doc As New MSHTML.HTMLDocument
Web.Navigate "http:// website "
Set Doc = Web.Document
(I have references and instances of the following classes installed on my form)
- Microsoft Internet Controls (shdocvw.dll)
- Microsoft HTML Object Library (MSHTML.TLB)
Help appreciated.
Thanks
Phil.
|