Hello Windy
You can bypass the behavior of the webbrowser control without influencing
the normall behavior of internet explorer
in VB6 this was done with the wbcustomizer.dll that was made availlable by
ms and written in C++ however as i never liked externall dependancies in my
projects i achieved the same thing with subclassing the webbrowser control
,,,,, as VB.Net was ariving i had to find a simular way to , dissable /
bypass the normall explorer behavior i asked a lot and heard from a lot of
people that it was not possible
so i invented the wheel but made it publicly availlable
my example is made to prevent ctr + p ( print the screen ) , right mouse
click ( to see the source of the html page ) , Backspace ( for history -1
behvior ) etc etc etc
it can easily extended to annything you need ,, ( just capture the
messages and add them to the select case )
you can download the code here
http://www.freevbcode.com/ShowCode.Asp?ID=5635
Regards
Michel Posseth [MCP]
<Windy> wrote in message news:%2****************@TK2MSFTNGP15.phx.gbl...
Hi all,
I would like to know if there are anyways to disable javascript, activeX
and all scripting on AxWebBrowser.
I have a program that include the AxWebBrowser and load internet pages,
but some pages keep having javascript error and a popup was shown.
I want to eliminate all the popup from javascript and other object, how
can I achieve this?
Thanks a lot.
Windy.