Results 1 to 4 of 4

Thread: Mozilla Control Error

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2012
    Posts
    106

    Mozilla Control Error

    Hello everyone,
    I have downloaded and installed the latest version of "Mozilla Active X control 1.7.12" from
    Code:
    http://www.iol.ie/~locka/mozilla/control.htm
    Added it's component "mozctl.dll" in my vb6.0 project. It's browser is working fine and showing webpage.
    But I am getting error "Automation error Library not registered." on getting the html source of the loaded webpage.
    I am using codes

    MozillaBrowser1.Document.body.innerHtml

    I've searched about this error, but not getting any working solution. Which Library is not registered and how to register that? Where i am doing wrong. Please correct me and tell how to get webpage html source code by using Mozilla Control in vb6.

    Thanks
    Regards,

  2. #2
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: Mozilla Control Error

    The error is likely because of the incomplete implementation of the Mozilla ActiveX Control. As you can probably tell, that control is no longer being developed. Their "latest version" is actually their "last version". Thus, it's unsuitable for any serious project. In fact, that browser control always crashes on me whenever a webpage contains any Flash content. It also has some difficulty processing certain JavaScript codes.
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,930

    Re: Mozilla Control Error

    Thread moved from the 'CodeBank VB6' forum (which is for you to post working code examples, not questions) to the 'VB6 and earlier' forum

  4. #4
    Junior Member
    Join Date
    Mar 2006
    Posts
    19

    Re: Mozilla Control Error

    If you are looking to do browser programming without IE, look here:

    http://www.vbrichclient.com/#/en/Downloads.htm

    I haven't tried it yet but it says you can use Webkit (and Cairo) in vb6.

Posting Permissions

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



Click Here to Expand Forum to Full Width