Click here to Skip to main content
15,885,216 members
Articles / Desktop Programming / Windows Forms
Alternative
Tip/Trick

Disable 'click' sound when accesing WebBrower control

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
21 Dec 2011CPOL 6.3K   1  
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)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --