dcsimg
Results 1 to 6 of 6

Thread: Web Browser Control

Hybrid View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2013
    Posts
    213

    Question Web Browser Control

    When using the web browser control in VB6 SP3, can I use a different browser than IE11? I have 3 browsers. No browser is listed as my current browser.

    Thanks

  2. #2
    Hyperactive Member
    Join Date
    Mar 2018
    Posts
    332

    Re: Web Browser Control

    Quote Originally Posted by AccessShell View Post
    When using the web browser control in VB6 SP3, can I use a different browser than IE11? I have 3 browsers. No browser is listed as my current browser.

    Thanks
    no. you will need to find controls for the other browsers, eg "chromium embedded framework"

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2013
    Posts
    213

    Re: Web Browser Control

    Maybe I am looking at my problem the hard way. I have been using the Microsoft reference "Microsoft WINHTTP Services, Version 5.1", to access web pages and parse the data for my needs. The web site has changed from http to https. This reference no longer works. Several years ago I got a tip from this forum to use some security code to get past the https. It does not always work.

    With HttpRequest
    .Open "GET", "http://WHATEVER", True
    .Open "GET", "https://www.marketwatch.com/tools/quotes/intchart.asp", True
    .Option(WinHttpRequestOption_SecureProtocols) = SecureProtocol_ALL
    .Option(WinHttpRequestOption_EnableRedirects) = True
    .Option(WinHttpRequestOption_UserAgentString) = "IE11"
    .Option(WinHttpRequestOption_EnableHttpsToHttpRedirects) = True
    .Option(WinHttpRequestOption_SslErrorIgnoreFlags) = 13056
    ' 13056: ignore all err, 0: accept no err
    .Send
    End With

    I do not believe there is an updated reference from MSFT to solve my problem. So I tried using the web browser control. Does the "chromium embedded framework" get added to VB6 or Google Chrome. If chrome, what command do I need to add into VB6?

    Thanks

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Posts
    20,526

    Re: Web Browser Control

    Terms of Use

    You agree to access the Services manually by request and not programmatically by macro or other automated means.
    I.e. what you are doing is piracy.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Oct 2013
    Posts
    213

    Re: Web Browser Control

    Please explain

  6. #6
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    34,058

    Re: Web Browser Control

    Any action that violates the terms of service of a third party is against the acceptable use policy of this site. In this case, you mentioned a site that explicitly states that "You agree to access the Services manually by request and not programmatically by macro or other automated means." Therefore, do not ask further questions about this.
    My usual boring signature: Nothing

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