VB web browser freezing

M

mherman

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
 
G

gene kelley

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

VB6 or VB Net ?

If VB6, you might ask in the "Classic VB" group:
microsoft.public.vb.general.discussion

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 SuppressScriptError property.


Gene
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top