I use VB6 to grab pages from IE but I've started to use firefox instead. Can do the same thing and get pages from Firefox instead?
I use VB6 to grab pages from IE but I've started to use firefox instead. Can do the same thing and get pages from Firefox instead?
Last edited by Pealy; 14-08-2005 at 09:03 PM. Reason: not dot net
...Here's a clip from the code I use to get the IE data
Dim MyIE As SHDocVw.InternetExplorer
Dim MyBrowserSync As SHDocVw.InternetExplorer
Dim MyDocSync As HTMLDocument
Dim SWs As New SHDocVw.ShellWindows
Dim strHTML As String
Set MyBrowserSync = MyIE
strHTML = MyBrowserSync.Document.body.innerHTML
Set MyDocSync = Nothing
Set MyBrowserSync = Nothing
Set MyIE = Nothing
I very much doubt you'll have any luck with that, VB is a Microsoft creation and hence will have hooks for VB script to access it, Firefox won't. You'd be best looking at JavaScript which is called by VBScript if you absolutely have to use VB
I thought that might be the case, looks like I'm stuck with IE for this particular task then.Originally Posted by Iain
There are currently 1 users browsing this thread. (0 members and 1 guests)