var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Accessing the Web via VB6 (Automation Error!)
I am trying to read a website into a variable so I can run parsing scripts.
I am using:
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)
When I run the above code, I get an Automation Error for the last line.
What am I doing wrong ???
Instead referencing it in your project try adding Internet Control to your project so that you can add the control from the toolbox to your form.
Hope it helps