How about your trial?

Please share if you found the solution.

The focus is cause by the JavaScript from the web page when it load.

I think the idea is you should handle the JavaScript. I don't think so
there is a setting to disable focus.
But you can disable JavaScript setting for a moment in the code.
Remember that it is not WebBrowser setting, but IE setting.

Before that, try to disable it manually in IE setting then run your
WebBrowser to see the result.

On Mar 8, 3:53 pm, coolvicki7 <[email protected]> wrote:
> Hello everyone,
>
> In my vb .net application I load a web page through web browser
> control automatically after few minutes. Now the problem is even if I
> minimize the application, on auto refresh it shows up automatically
> which is ofcourse annoying.
>
> After researching on this, I now know that a piece of javascript on
> this page is responsible for such behaviour.
>
> How can I stop webbrowser control stealing the focus? Can anyone help
> me in this?
>
> Thanks

Reply via email to