Click here to Skip to main content
15,067,539 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

i want to write code in asp classic to read the registery key value .
path is "HKEY_Local_MECHINE/Computhink/Contentverse online.
inside contentverse folder 2 sub key are there
1.contentverse flavor and its value is Full
2. contentverse home and its value is physical path of the folder.

with the help of the script i want to read the value of Flavor .
if the dll is register the value of Flavor = Full.
Posted

1 solution

You can do it with IE, using an ActiveX object.

But to be honest. You're going to struggle to get a consistent user experience as not all machines will have permissions e.t.c.

If you can find an alternate means other than a registry key I'd suggest using it.

Here's the ActiveX example.

http://jayadevjyothi.blogspot.co.uk/2013/01/reading-registry-value-using-javascript.html[^]
   
Comments
Rayan Khan 8-Oct-13 0:02am
   
Thenks Stephen it is working with IE,But to make this to work with other browser like Chrome,firefox etc.
Stephen Hewison 8-Oct-13 3:23am
   
I don't think it's possible as not all the browsers will support creating the object type required to access the registry.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900