
Reading registry keys in vbscript from ASP page
I don't think this will work because of obvious security issues -- scanning
someone's registry from a website is a bad thing, especially when you don't
know it. :)
You may want to look into using an HTA... Create it and have them click on
the Open button when they click on the link to the HTA.
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/ht...
iew/htaoverview.asp
Rob
Quote:
> We need to be able to authorize users to use our software
> locally. To do this we need to set registry keys from our
> ASP page.
> Have tried to following vbscript but it did not work.
> Set WshShell = Wscript.CreateObject("Wscript.Shell")
> strOrigVal = WshShell.RegRead
> ("HKLM\Software\Microsoft\Windows\CurrentVersion\App
> Paths\AcroRd32.exe\Path")
> <html>
> <body>
> Reg. Value <%=strOrigVal2%>
> </html>
> </body>
> Any suggestions, or is there a better way to do it? May be
> allowing the user to install a small ActiveX control that
> would add the authorization to the registry. Any advice or
> links (URL) on this?
> Thanks.