Windows Develop Bookmark and Share   
 index > Windows Forms Designer > How to Stop URL in winform?
 

How to Stop URL in winform?

Hi all..

What is the code for stopping URL loadprocess. Here scenario is initially one URL will load, as long as when iclick one button that process should stop. I have written code as

webbrowser.stop();

But its showing progress bar(continously) even though if i clicked on stop button.

How to solve this? i dont want that progress bar when i clicked on stop button.
Ganapatisb  Thursday, October 01, 2009 12:13 PM

Hi,

 

I test on my side. If I use webBrowser1.stop() method, webbroswer control stop navigating to other page or load the page and ProgressChanged event will not fire.

You can also set processbar.Value = 0 to avoid this.

 

Best regards,

Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Wednesday, October 07, 2009 10:33 AM

Hi,

 

I test on my side. If I use webBrowser1.stop() method, webbroswer control stop navigating to other page or load the page and ProgressChanged event will not fire.

You can also set processbar.Value = 0 to avoid this.

 

Best regards,

Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Wednesday, October 07, 2009 10:33 AM

You can use google to search for other answers

Custom Search

More Threads

• Dragging ActiveX Control in the Designer Area which needs a License Key
• Publishing properties
• Property value is not valid - Ambiguous match found
• Understanding ZOrder
• Snaplines in CustomDesigner
• Regarding statusbar in Win32
• How to capture and save resources generated by CodeDomDesignerLoader in Custom Designer
• Change parent at design time
• How do you persist and restore forms with the CodeDomDesignerLoader
• More TreeView Issues - OnMouse and AfterLabelEdit Problem