By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,130 Members | 2,141 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,130 IT Pros & Developers. It's quick & easy.

How to read registry using Javascript?

P: n/a

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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.