Results 1 to 4 of 4

Thread: Grabbing page from Firefox instead of IE in VB6

  1. #1
    Member
    Join Date
    Aug 2005
    Location
    Lancashire, UK
    Posts
    145
    Thanks
    0
    Thanked
    0 times in 0 posts

    Grabbing page from Firefox instead of IE in VB6

    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

  2. #2
    Member
    Join Date
    Aug 2005
    Location
    Lancashire, UK
    Posts
    145
    Thanks
    0
    Thanked
    0 times in 0 posts
    ...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

  3. #3
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    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

  4. #4
    Member
    Join Date
    Aug 2005
    Location
    Lancashire, UK
    Posts
    145
    Thanks
    0
    Thanked
    0 times in 0 posts

    Bummer

    Quote Originally Posted by Iain
    I very much doubt you'll have any luck with that
    I thought that might be the case, looks like I'm stuck with IE for this particular task then.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Top Download for today - FireFox users
    By DR in forum General Discussion
    Replies: 30
    Last Post: 19-05-2005, 08:41 PM
  2. Firefox suffers first 'extremely critical' security hole
    By XA04 in forum General Discussion
    Replies: 18
    Last Post: 12-05-2005, 12:13 PM
  3. Firefox extensions? And a few questions...
    By SilentDeath in forum Software
    Replies: 8
    Last Post: 08-03-2005, 10:01 AM
  4. Internet Explorer not found page
    By ajbrun in forum Software
    Replies: 16
    Last Post: 25-07-2004, 11:40 AM
  5. Firebird dies, Firefox rises from the ashes
    By Iain in forum General Discussion
    Replies: 21
    Last Post: 10-02-2004, 08:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •