473,804 Members | 2,985 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reading from registry from within IE7

Hi,

Is there a way to read a registry key from HKLM from an asp.net page?

regards,
Henk


Nov 30 '06 #1
3 1044
only with an active/x control you convince the user to load.

-- bruce (sqlwork.com)
"Henk" <So*****@the.Ne twrote in message
news:et******** ******@TK2MSFTN GP05.phx.gbl...
Hi,

Is there a way to read a registry key from HKLM from an asp.net page?

regards,
Henk

Nov 30 '06 #2
"Henk" <So*****@the.Ne twrote in message
news:et******** ******@TK2MSFTN GP05.phx.gbl...
Is there a way to read a registry key from HKLM from an asp.net page?
Yeah - it's just next to the option which allows you to format the client's
hard disk...

No of course there isn't - not directly, at least.

You could probably write an ActiveX control / Java applet to do it, if you
could convince any user who was stupid enough to install it...
Nov 30 '06 #3
They will install the activeX, that is not the problem, it are customers
that want to run an windows app started from a (intranet) webpage, only is
there the possibilty that they install in any folder they want, and that
location is stored in the registry. If I can read that then I can give that
to the LaunchInIE activeX control et voilla.

I did try an activeX written in .NET 2.0 (winform user control) but keep
getting security errors.

Any a good idee what I am missing?
H.
"bruce barker" <to*********@no spam.comwrote in message
news:9E******** *************** ***********@mic rosoft.com...
only with an active/x control you convince the user to load.

-- bruce (sqlwork.com)
"Henk" <So*****@the.Ne twrote in message
news:et******** ******@TK2MSFTN GP05.phx.gbl...
>Hi,

Is there a way to read a registry key from HKLM from an asp.net page?

regards,
Henk


Dec 2 '06 #4

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

Similar topics

1
5029
by: Duncan Allen | last post by:
I'm trying to use aspnet_setreg to encrypt user names & password used in the web.config file for use in the indentity element. When the website runs I get the message 'Error reading the password from the registry'. I'm using Windows XP SP2, Framework 1.1 . The code in the web.config file is : <identity impersonate="true" password="registry:HKLM\SOFTWARE\MyCompany\MyApp\Website\Identity\ASPNET_SETREG,password...
0
3515
by: D. Yates | last post by:
Hi, How exactly do you use the condition property to tell the installer not to overwrite changed registry values? Initially, I want certain registry values within a given key set to the value contained within the registry view (right click the install project and navigate to View->Registry). However, if the user runs the setup.exe again, I don't want the registry values to be overwritten if they have been changed. Thus, I am trying...
6
17848
by: Bry | last post by:
I'm having problems writing (and reading) boolean data to the registry. // Write a boolean value to the registry // I've not included the obvious bits of code in these samples bool myBool = true; myRegistryKey.SetValue("SomeValue", myBool); This gives me a registry value with string data containing "True" // Read my boolean data back from the registry
1
1673
by: Peter John | last post by:
I am using the following code to read from and write to the registry. The writing works fine but reading always fails. Can anyone suggest what is going wrong? Imports Microsoft.Win32 Public Class clsRegistry Private Const conRegKey As String = "Software\MyCompany\MyApplication"
4
2464
by: Wolfgang Kaml | last post by:
I came accross the need to store binary data in the registry. The binary data to be saved is kept within a string in the code segment. If I write that string to a registry, not all of the data is kept. There are some certain chars included within that string, which the registry SetValue function cannot handle and therefore the string is being cut off. Instead of storing that string with special characters as a string in the registry, I am...
5
8958
by: Scott M. Lyon | last post by:
I've just discovered a bug in some code I wrote a little while ago, and I need you guys' help to fix it. My program imports data from a standard Excel Spreadsheet (just with specific column headers). I used ODBC in my VB.NET program to read that spreadsheet into a dataset, to make it easy to manipulate. The code I use to read it is as the bottom of this posting.
5
5090
by: UJ | last post by:
I have a system that has five programs that all communicate with each other via Message Queues. Works well. One program is a watchdog that will make sure the others are up and going. Currently I have it store info it gets from when the programs check in into a DataSet (XML file). Problem is, that file now has to be used by other programs to find out version information (the file is ALWAYS less that 1K.) The record itself is only five fields...
0
4009
by: tmsprowl | last post by:
Greetings! I was wondering if someone could help me with a problem I'm having. My department is just one of many within my organization. My organization has control over the network domain, but my department has a couple of web servers of our own that are part of my organization's domain. I am trying to read LDAP information on my organization's domain controller from a web application on one of my department's servers. I have been...
1
1686
by: mikeeeeeeey | last post by:
Hi all, I've been having this mega-problem for a while now. I'm trying to access the Registry; I've tried using PHP (server-side, so won't work), so I've gone client side, and seeking for the solution within Javascript. I know theres a lot of issues with accessing the Registry from Javascript, mainly having to have low security settings in order to beable to read it, and so on, but this won't be an issue (hopefully) as once I have got the...
0
9706
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
9577
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10569
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
10325
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...
0
9140
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...
0
6847
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();...
0
5519
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2990
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.