我已经通过Windows编程代码对注册表(代理设置)进行了更改。
每次运行代码时,我都必须重新启动(重新打开) Internet Explorer才能使这些更改生效。
Windows编程中是否有API可用于通知Internet Explorer或Windows注册表发生更改,而无需重新打开Internet Explorer即可使更改生效?
谢谢。
发布于 2009-05-22 21:19:59
试试这个:
无需重新启动Internet Explorer http://www.codeproject.com/KB/IP/Change_IE7_Proxy_Setting.aspx即可更改Internet Explorer7代理设置
发布于 2009-05-23 15:11:45
是的,使用Shell apis (常见问题解答)。
请参见news://nntp.aioe.org/comp.os.ms-windows.programmer.win32上的Win32 api组。
发布于 2009-05-24 12:21:57
我用InternetSetOption接口成功地做到了这一点。
https://stackoverflow.com/questions/899933
复制相似问题