On 27 Jul 2003 23:57:15 GMT, sriram pasham <srirampasham@y ahoo.com>
wrote:
[color=blue]
>
>Hi
>Could any one tell me how to access(read) a registry key using
>javascript from a webpage(ASP page).
>Thanks in advance.
>Sriram[/color]
Gain technical skills through documentation and training, earn certifications and connect with the community
Note, the example code uses
WScript.CreateO bject ("WScript.Shell ");
but since you're using ASP you should use Server.CreateOb ject instead
of WScript.CreateO bject.
In article <3f2466da$0$193 $75868355@news. frii.net>, sriram pasham
<srirampasham@y ahoo.com> writes:
[color=blue]
>Could any one tell me how to access(read) a registry key using
>javascript from a webpage(ASP page).[/color]
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.
Comment