VB web browser freezing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mherman@nbme.org

    #1

    VB web browser freezing

    At my company we have a need for a web browser that is locked down. We
    were unable to block the View->Explorer Bar menu (wich let them browse
    the c drive) so we decided to try and make a web browser in VB6 using
    the ie control for the web browser. The problem is a page we use uses
    javascript to open a new window and wait for a return value. In
    regular IE it works fine, but with my program it opens the new window
    and freezes. Neither window responds to my mouse clicks. I am able to
    use the keyboard to tab through all the links and stuff but there are
    too many and that will not fly, any ideas?

    ps. we tried using public web browser v2 and it also freezes at that
    point

  • gene kelley

    #2
    Re: VB web browser freezing

    On 27 Jun 2006 14:26:10 -0700, mherman@nbme.or g wrote:
    [color=blue]
    >At my company we have a need for a web browser that is locked down. We
    >were unable to block the View->Explorer Bar menu (wich let them browse
    >the c drive) so we decided to try and make a web browser in VB6 using
    >the ie control for the web browser. The problem is a page we use uses
    >javascript to open a new window and wait for a return value. In
    >regular IE it works fine, but with my program it opens the new window
    >and freezes. Neither window responds to my mouse clicks. I am able to
    >use the keyboard to tab through all the links and stuff but there are
    >too many and that will not fly, any ideas?
    >
    >ps. we tried using public web browser v2 and it also freezes at that
    >point[/color]

    VB6 or VB Net ?

    If VB6, you might ask in the "Classic VB" group:
    microsoft.publi c.vb.general.di scussion

    The WebBroswer control in VB6 was not all tat great. The .Net version
    is somewhat improved.

    If I had to guess, here, I would suspect the page in question has a
    Javascript error which could be as insignificant as a stray or open
    Tag which will cause an error/exception in VB. IE, by default,
    generally is set up to ignore Javascript errors. The VB controls are
    not. I don't recall how the old control handled Javascript Errors.
    The .Net version has a SuppressScriptE rror property.


    Gene

    Comment

    Working...