How to read registry using Javascript?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sriram pasham

    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!
  • Steve van Dongen

    #2
    Re: How to read registry using Javascript?

    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.

    Regards,
    Steve

    Comment

    • HikksNotAtHome

      #3
      Re: How to read registry using Javascript?

      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

      Working...