Click here to Skip to main content
15,900,815 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using web browser control in winforms. I am loading almost a file of size 5MB using webBrowser.Navigate(@"C:\Log.html"). It navigates fine. Now I have problem. Once I scroll down to the end of the page and minimise the form, my application will hang for some time and when I bring the form from minimise state to normal it again hangs for some time and it appears that the page is loading once again. The scroll bar position also changes and moves up from the end of the page. can you help me. Thanks in advance..
Posted

1 solution

The hanging may be as a result of the webbrowser control trying to format the data that is loaded.

You may want to move the load operation etc. into a background worker process to prevent the primary gui from locking up.

 
Share this answer
 

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