disable/turn off active scripting/javascript in webbrowser control .net

K

kal

Hi there



I am hunting for way to turn off/disable active scripting especially
javascript in my webbrowser control. I don't see any property to turn
off script. I found entry in registry under HKU/software/microsoft/...
which gets modified when we manually change the setting for active
scripting in IE from dword 3 to 0. But that solution is not viable
because programatically registry updation is dependent the user rights
as well and when I tried to do that the opensubkey returned always
NULL. I don't know what to do. I am still searching. Any direction or
help or code help will be appreciated. thanks



kal
 
N

Newbie Coder

Kal,

You can use the registry permission class & either 'assert' or 'demand' a
change on that key
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top