原创 CSDN问答:如何使用代码清除IE的自动完成表单收藏

http://community.csdn.net/Expert/topic/4057/4057856.xml?temp=.2689783

我现在只找到开/关自动完成的方法,就是将:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete
下面的AutoSuggest的值修改为Yes或者No

这里有一个Clear Form Fields in AutoComplete的代码你参考一下:

http://www.kellys-korner-xp.com/regs_edits/autowhat.zip

下载页面
http://www.kellys-korner-xp.com/xp_tweaks.htm

我查了一下google,有个文章是这么说的:

AutoComplete Keys and Storage

The specific subkeys for different applications (appear to be) is as follows:

IE: HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider\S-1-5-21-839522115-1708537768-1343024091-1003\Data\e161255a-37c3-11d2-bcaa-00c04fd929db

OE: HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider\S-1-5-21-839522115-1708537768-1343024091-1003\Data\220d5cc1-853a-11 d0-84bc-00c04fd43f8f

FTP, Front Page and password protected web sites:
HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider\S-1-5-21-839522115-1708537768-1343024091-1003\Data\5e7e8100-9138-11d1-945a-00c04fc308ff

Outlook XP: HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider\S-1-5-21-839522115-1708537768-1343024091-1003\Data\220d5cd0-853a-11d0-84bc-00c04fd43f8f

Note: the S-1-5-21-839522........ part of the Registry key above may be different on your machine.

InfoDelivery, MSN and Identities have their own sub branches off of the Data branch. These number (other than the User number) appear to be the same from machine to machine.


在我的机器上面,这些项保存在HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider\S-1-5-21-1801674530-813497703-1343024091-1000而不是HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider\S-1-5-21-839522115-1708537768-1343024091-1003
下面,你的机器可能保存的项跟我也不一样,但是HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider下面只有1项。

有一个问题,默认的这个项的读写权限只开放给System,如果你要读取这个项下面的子项,需要通过RedEdt32.exe将这个项的权限开放给管理员或者当前用户。

在HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider\S-1-5-21-1801674530-813497703-1343024091-1000\Data\e161255a-37c3-11d2-bcaa-00c04fd929db\e161255a-37c3-11d2-bcaa-00c04fd929db下面的每一个项应该就是保存相应的网页的自动完成内容,例如HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider\S-1-5-21-1801674530-813497703-1343024091-1000\Data\e161255a-37c3-11d2-bcaa-00c04fd929db\e161255a-37c3-11d2-bcaa-00c04fd929db\http://www.china-pub.com:StringData
但是这些数据好像是加密的,你可能需要自己分析一下。


原文连接: http://www.kellys-korner-xp.com/xp_a.htm

发表于 @ 2005年06月28日 10:23:00|评论(loading...)

新一篇: CSDN问答:用WEBBROWSER怎么复制粘贴不能用了 | 旧一篇: 生成MHT的开发手记(6月27日)

用户操作
[即时聊天] [发私信] [加为好友]
陈锐
订阅我的博客
XML聚合  FeedSky
订阅到鲜果
订阅到Google
订阅到抓虾
文章分类
收藏
    Graphics File Formats FAQ
    Adding Custom Buttons to Internet Explorer
    Creating a Windows DLL with Visual Basic
    Graphics File Formats FAQ (Part 1 of 4): General Graphics Format Questions
    Graphics File Formats FAQ (Part 2 of 4): Image Conversion and Display Programs
    Graphics File Formats FAQ (Part 3 of 4): Where to Get File Format Specifications
    Graphics File Formats FAQ (Part 4 of 4): Tips and Tricks of the Trade
    Visual Basic乱七八糟
    朋友的Blog
    小雨的Blog(RSS)
    瓜少之胡言乱语(RSS)
    美女苏胖墩的BLOG
    莫依的博客
    道士摄影
    马宁的Blog(RSS)
    我得主页
    AppleVB
    一些杂七杂八的东西
    40个常用的JS
    存档
    软件项目交易
    Csdn Blog version 3.1a
    Copyright © 陈锐