473,503 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to read registry using Javascript?


Hi
Could any one tell me how to access(read) a registry key using
javascript from a webpage(ASP page).
Thanks in advance.
Sriram
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #1
2 25176
On 27 Jul 2003 23:57:15 GMT, sriram pasham <sr**********@yahoo.com>
wrote:

Hi
Could any one tell me how to access(read) a registry key using
javascript from a webpage(ASP page).
Thanks in advance.
Sriram


http://msdn.microsoft.com/library/en...mthregread.asp

Note, the example code uses
WScript.CreateObject ("WScript.Shell");
but since you're using ASP you should use Server.CreateObject instead
of WScript.CreateObject.

Regards,
Steve
Jul 20 '05 #2
In article <3f*********************@news.frii.net>, sriram pasham
<sr**********@yahoo.com> writes:
Could any one tell me how to access(read) a registry key using
javascript from a webpage(ASP page).


The fact that its an ASP page is totally irrelevant. Totally.

What if the visitor is not using a Windows-based machine? There is no registry
to read. Besides, javascript can't read my registry. Period. It has no access.
Unless I lower my security settings to a "please rape and have your way with my
PC" settings.

Perhaps a little more insight into what you are trying to accomplish (other
than reading the registry), might get you a solution to your problem.
--
Randy
All code posted is dependent upon the viewing browser
supporting the methods called, and Javascript being enabled.
Jul 20 '05 #3

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

Similar topics

5
2214
by: Olumide | last post by:
How can I use EXTERNAL JavaScript code to read (and modify) an SVG file/object? Can JavaScript do this or do I have to resort to Batik? IMPORTANT NOTE: The JavaScript code CANNOT be embedded in...
1
3763
by: Borka | last post by:
Hi all! I have some questions. 1. I write script which controls registry settings, which must work on every computer. If I try JFSO = new ActiveXObject("Scripting.FileSystemObject"); JWS =...
1
13356
by: JJG | last post by:
Hello. I'm not sure if this is the right forum, so please let me know what is the correct one if it isn't. (I posted this one also to the win32.programmer.wmi forum). I've been puzzled by this...
2
3033
by: Jake Barnes | last post by:
Using javascript closures to create singletons to ensure the survival of a reference to an HTML block when removeChild() may remove the last reference to the block and thus destory the block is...
5
4096
by: kiran | last post by:
hi, i just wanted to retrieve path of a file residing on local client system using javascript
0
1443
by: anibakore | last post by:
Hi All, I am using product.xml for vs2005 pre-requisites. I am using <RegistryCheckinside <InstallCheck>. I am trying to read one registry value of installed software. I can see it through...
1
2694
by: kbnumesh | last post by:
Dear All, I have query regarding the registry. Is it possible to write it to windows registry using the XML? if yes then what is the API or tag used to write it. I am just a beginner in...
0
1106
Ali Rizwan
by: Ali Rizwan | last post by:
Hi, I want to read registry binary data into text form like if I want to read volume settings registry then I found the volume in numbers. And if I want to read username I found the username binary...
3
2643
by: MSK | last post by:
Hi I am a newbie to ASP.NET and VBScript, currently I am designing a page to show all the mapped drives using client-side scripts.. I want to read all the mapped drive details (name and Remote...
0
7273
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
6982
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
5572
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,...
0
4667
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...
0
3161
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
3150
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1501
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
731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
374
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.