Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / desktop / WinForms

Disable 'click' sound when accesing WebBrower control

5.00/5 (1 vote)
21 Dec 2011CPOL 6.5K  
To me the second method was problematic. After searching, I found an apparently equally good solution:webBrowser1.DocumentText = text;or in your case:webBrowser1.Document.Write(Hello, world!);from here:...

To me the second method was problematic. After searching, I found an apparently equally good solution:


VB
webBrowser1.DocumentText = text;

or in your case:


VB
webBrowser1.Document.Write("<h1>Hello, world!</h1>");

from here: http://www.windowsdevelop.com/windows-forms-general/webbrowser-stealing-focus-56881.shtml[^].

License

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