如何读取注册表项值 [英] How to read the registry key value

查看:143
本文介绍了如何读取注册表项值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





i希望用asp经典代码来读取注册密钥值。

路径是HKEY_Local_MECHINE / Computhink / Contentverse在线。

里面的contentverse文件夹2子键是

1.contentverse风味,它的价值是全的

2. contentverse home及其value是文件夹的物理路径。



在脚本的帮助下我想读取Flavor的值。

如果是dll注册Flavor = Full的值。

解决方案

您可以使用ActiveX对象使用IE浏览器。



但说实话。你将很难获得一致的用户体验,因为并非所有机器都有权限等



如果你能找到一个除了我建议使用它的注册表项之外的替代方法。



这是ActiveX示例。



http://jayadevjyothi.blogspot.co.uk/2013/01/reading-registry-value-using-javascript.html [ ^ ]

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.

解决方案

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[^]


这篇关于如何读取注册表项值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆