473,657 Members | 2,481 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 8026
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********@gma il.comwrote in message
news:11******** **************@ y5g2000hsa.goog legroups.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
2327
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 the letters of the word they are looking for from within the listbox and the control automatically scrolls to the item matching the chars they have typed thus far. Example:
2
2663
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 "Internet Options" and "Preferences", respectively, I am unable to find the option to disable JavaScript. Is disabling JavaScript in IE6 and NN7 no longer an option?
11
3286
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. Mason C
10
6550
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 IE is: Tools => Internet Options => Security => Custom Level => Scripting => Active Scripting (disable). When I do this, and visit sites on-line, JS is disabled. And I can disable JS in NN, Moz and Opera (and use the <noscript> </noscript>...
3
3081
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 this? I was hoping maybe there was a registery entry I could modify directly. Any help will be appreciated. Thanks, Matt
1
3112
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 prohibit the control from receiving user input- i.e. I don't want the user to actually be able to click any of the buttons on the displayed page. I figured there would be some simple property, like enabled, that I could set but I have not been able to...
2
6402
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 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.
2
2374
by: Water Cooler v2 | last post by:
How do you enable/disable JavaScript in Internet Explorer v6?
0
2582
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 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
0
1804
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 disable all mouse click events on slide show which is inside the webbrowser control, i tried all the ways, but cant disable it.If anyone know the result ,please give me the solutions....
0
8394
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8825
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7327
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6164
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2726
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 we have to send another system
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.