473,503 Members | 2,142 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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

Apr 16 '07 #1
1 8009
Kal,

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

--
Newbie Coder
(It's just a name)
"kal" <ku********@gmail.comwrote in message
news:11**********************@y5g2000hsa.googlegro ups.com...
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

Apr 17 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2312
by: Ben | last post by:
I've got an asp page that populates a listbox with info from a db. The list box ends up being pretty big, so I want to be able to search it effectively. I like the method wherein the user types...
2
2654
by: Kate Riley | last post by:
Hi all - Thanks in advance for your help. I am using IE 6 and NN7. I was testing the <NOSCRIPT></NOSCRIPT>, so I was trying to turn off or disable JavaScript in my browsers. But in my...
11
3266
by: MasonC | last post by:
I find I cannot disable javascript in MSIE 6 I've Help'd, Google'd, and searched here to no avail. <noscript> You don't have javascript enabled </noscript> will not display for me. ...
10
6544
by: Craig | last post by:
I'm a beginner with JS. When I try to disable JavaScript in IE6, I can't seem to turn it off in order to do off-line tests -- with or without JS enabled -- on my developing site. What I try in...
3
3070
by: MJB | last post by:
I am using the embedded ActiveX IE WebBrowser component in my C# application. I want to be able to Enable/Disable javascripting programmatically. I was wondering if there was a way to achieve...
1
3097
by: Mike Eaton | last post by:
Hi there, I'm hosting a webbrowser control on a windows app- basically I'm using it in the middle of larger application to display some html-based content. HOWEVER, I'd like to be able to...
2
6395
by: | last post by:
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...
2
2361
by: Water Cooler v2 | last post by:
How do you enable/disable JavaScript in Internet Explorer v6?
0
2576
by: kal | last post by:
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...
0
1794
by: cheenusri | last post by:
Hello friends, i am running slide show(pps file) in vb.net form using webbrowser control in it.while running the form, if right click on the slide, it show some popup menu, here i wan to...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7287
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7008
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5594
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5022
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3177
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1521
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
746
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
399
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.