Click here to Skip to main content
15,888,303 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,

I have problem in system.windows.controls.webbrowser when try to navigate from 1 to
another link. It will sometimes consume so much processing time to load the page
or complete the requested action. Sometimes even it will not going to show some
images also.

Thanks for your help or valuable comments in advance..
Posted
Updated 22-Aug-12 0:19am
v2
Comments
Christian Graus 22-Aug-12 6:21am    
sounds odd - do the same pages work fast just in IE outside your program ? Because it's IE you are running. Is there any meaningful code, or is it just a browser control ?
Ed Nutting 22-Aug-12 9:31am    
It's IE but at the same time it's not IE... For sure your running the Trident layout engine but often it is not the same version of the engine running in the WebBrowser control as it is in IE. Often the WebBrowser control uses an older version that may be installed (for some reason that is beyond my understanding and it really shouldn't). So things may not load as fast due to that issue. Also, I don't know if concurrent downloads is built into Trident/WebBrowser control by default or if it's part of IE and/or you need to set specific things to turn it on - this may also decrease speed. Finally, the OP should check that they are not telling the WebBrowser control to navigate to a link and then blocking the UI thread until that completes - this would undoubtedly cause the application to hang or behave very slowly. There is a Loaded (or LoadComplete or similar named) event that should be used.

Hope this helps,
Ed
ridoy 22-Aug-12 6:43am    
show us your code..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900