搜索注册表 [英] Search the registry

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

问题描述

我正在寻找注册表以查找可用于MS Office的校对语言


这里似乎是注册表项。 3点后的位是默认值。第二个条目翻译为格鲁吉亚语。


除了那些语言之外,我安装了Mongolian,但没有这种语言的校对



所以我我猜我们所知道的唯一固定位是

" HKEY_LOCAL_MACHINE \ SOFTWARE \ Mysoftoft \Office \"



已安装的软件包

Microsoft Office校对工具

以及括号内或破折号后的语言


我不知道是否可以在如此少的信息上搜索注册表,因为我觉得你需要提供完整的密钥,这显然会因Office的版本而异。


有可能吗?


谢谢


Phil

I am truing to search the registry to find which proofing languages are available for MS Office

Here are what appear to be the Registry entries. The bit after the 3 dots is the Default Value. The second entry translates as Georgian.

In addition to those languages, I have Mongolian installed, but there is no proofing available for this language


So I''m guessing that the only fixed bits we know are
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ "
and
"Installed Packages"
"Microsoft Office Proofing Tools"
and a language either in brackets or after a dash

I have no idea if the registry can be searched on so little information as I have a feeling that you need to supply the complete key, which obviously will vary depending on the version of Office.

Is it possible?

Thanks

Phil

推荐答案

嗨菲尔。


对于注册表中的这个特定部分,你需要做些什么我真的无法帮助。但是,我确实有一些代码可以读取注册表。


现在我看一下,我想到的代码实际上是遍历本地域的Active Directory的代码。没有那么多使用:-(


尽管如此,几乎已经向你许诺了我已经看过我所拥有的东西,并且会看到我是否可以为你穿过一些穿过来自指定起点的键并列出其中的所有键和值名称。这应该足以构建包含您自己的特定逻辑。
Hi Phil.

Exactly what you need to do regarding this particular part of the Registry I can''t really help with. However, I do have some code that reads the Registry.

Now I look at it, the code I was thinking of was actually code to traverse through the local domain''s Active Directory. Not so much use :-(

Nevertheless, having almost promised you something I''ve looked at what I have and will see if I can knock something up for you that traverses through the keys from a specified start point and lists all the key and value names within. That should be enough to build on to include your own particular logic.


听起来很棒。我期待看到你想出了什么。


请不要太麻烦,因为时间对你来说很有价值。


Phil
That sounds brilliant. I look forward to seeing what you come up with.

Please don''t go to too much trouble though as time is valuable to you.

Phil


你好菲尔。


这需要一段时间,一些失败和完全崩溃的Excel才能做到正确。我选择使用Excel,因为我不想冒险崩溃或破坏任何现有的数据库和新的电子表格更容易上手;-)


它返回一个所有子键的列表指定的注册表项。返回的值是一个字符串,包括由\分隔的所有值。字符。为什么那些?因为它们很难在名称中使用,因为它们用于指定键的结构本身。


你可以肯定我会将它添加到我现有的从现在开始,我所有项目中的modOS模块。
Hi Phil.

This took a while and a number of failures and complete crashes of Excel before I could get it right. I chose to use Excel as I didn''t want to risk crashing or corrupting any existing databases and new spreadsheets are much easier to get started with ;-)

It returns a list of all Subkeys of a specified Registry Key. The returned value is a string including all the values separated by "\" characters. Why those? Because they can hardly be used within a name as they''re used for specifying the structure itself of a Key.

You can be sure I''ll be adding this to my existing modOS modules in all of my projects from now on.
展开 | 选择 | Wrap | 行号


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

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