dcsimg
Results 1 to 7 of 7
  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2013
    Posts
    1,126

    vb6 and other webbrowser control

    It seems that I have problem with IE webbrowser control on vb6 when loading js files.

    Is there any other control to use other than that of internet explorer? Like for example from mozilla firefox?

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

    Re: vb6 and other webbrowser control

    Quote Originally Posted by codesearcher View Post
    Is there any other control to use other than that of internet explorer? Like for example from mozilla firefox?
    Try this.
    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

    Thread Starter
    Frenzied Member
    Join Date
    May 2013
    Posts
    1,126

    Re: vb6 and other webbrowser control

    thanks for the reply bonnie but when I tried the project, so many dlls are not present and hard to find in google.

    any other solution?

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

    Re: vb6 and other webbrowser control

    Which project did you try? mozVB-OCX.zip or WebKitCairo.7z? Schmidt says "the 10MB mozilla-ocx-download" "contain everything and don't require an "installed FireFox" (and also none of the RichClient-libs)". The WebKit package, on the other hand, "requires the 3 Base-Dlls of the vbRichClient5". If you've tried the WebKit package, did you correctly follow Schmidt's installation instructions here? Apart from Adam Locke's original Mozilla ActiveX Control, the only other ActiveX browser controls that I know of are those from Olaf Schmidt.
    Last edited by Bonnie West; Jan 30th, 2014 at 07:52 AM.
    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)

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    May 2013
    Posts
    1,126

    Re: vb6 and other webbrowser control

    I use the mozVb-OCX.zip but when I execute the project on Minibrowser folder, I get an error "Method 'Navigate2' of object '_mozCtl' failed"

    I dont know why....then I got

    Sub Main()
    Dim F As frmBrowser
    Set F = New frmBrowser
    F.mozCtl1.Navigate2 "google.com" <<<---- yellow line here
    F.Show
    End Sub

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

    Re: vb6 and other webbrowser control

    I must admit I'm not really familiar with that control. You may want to ask its author instead.
    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)

  7. #7
    New Member
    Join Date
    Aug 2014
    Posts
    3

    Re: vb6 and other webbrowser control

    Full Chromium CEF3 ActiveX for VB6 here http://www.webkitx.com

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width