advertisement

Find Code  Advanced Search   

Free Newsletters:   
browse free vb code
Submit Code
ASP,  HTML, and XML
Database
Dates  and Math
Files  and Directories
Forms  and Controls
Lists,  Collections, and Arrays
Miscellaneous
Multimedia/Games
Office/VBA
Network/Internet
Registry
Screen/Graphics
String  Manipulation
System/API
Windows  2000/XP
VB.NET/ASP.NET



advertisement
Disable WebBrowser Control's Accelerator Keys (VB.NET)

Author: m.posseth@work
Category: VB.NET/ASP.NET
Type: Snippets
Difficulty: Intermediate

Version Compatibility:  Visual Basic.NET  

More information: Disables context menu , ctrl + P , Backspace with history -1 but stil allows input clearing :-) , etc etc etc capable of clearing all accelerator keys (like using wbcustomizer.dll, or subclassing the webbrowser control in VB6)

This is a very simple VB.NET implementation. I looked for something on the NET that could do something like this code does but I couldn`t find it anywher so i decided to do some pioneering ...

This code is especially usefull for those peolpe who like HTML GUIS in there applications ( like me :-) for an example of such a GUI look at http://www.toolbase.nl/screenshots.aspx

As usual with my shared code this code is public domain it is a gift from me to you, don`t bother to name me in any way although it would be apreciated if you did.

Coded By : M. Posseth (MCP)

This code has been viewed 74276 times.

Instructions: Copy the declarations and code below and paste directly into your VB project.


Declarations:

Code:

No Text Boxes

Sponsored Links