Re: Internet Explorer Security Settings Refresh
From: Randy Birch (rgb_removethis_at_mvps.org)
Date: 11/19/04
- Next message: Klaus H. Probst: "Re: Feedback on recursive file search..."
- Previous message: Tyler Allen: "Internet Explorer Security Settings Refresh"
- In reply to: Tyler Allen: "Internet Explorer Security Settings Refresh"
- Next in thread: Tyler Allen: "Re: Internet Explorer Security Settings Refresh"
- Reply: Tyler Allen: "Re: Internet Explorer Security Settings Refresh"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 18 Nov 2004 22:41:15 -0500
You can try to broadcast that the registry was changed -- perhaps that will
cause IE to refresh itself.
Call PostMessage(HWND_BROADCAST, WM_SETTINGCHANGE, 0&, ByVal "Registry")
... or ...
Call SendMessageTimeout(HWND_BROADCAST, _
WM_SETTINGCHANGE, _
ByVal "Registry", _
0&, SMTO_ABORTIFHUNG, _
1000&, success)
Private Declare Function PostMessage Lib "user32" _
Alias "PostMessageA" _
(ByVal hwnd As Long, _
ByVal wMsg As Long, _
ByVal wParam As Long, _
lParam As Any) As Long
Private Declare Function SendMessageTimeout Lib "user32" _
Alias "SendMessageTimeoutA" _
(ByVal hwnd As Long, ByVal msg As Long, _
ByVal wParam As Long, lParam As Any, _
ByVal fuFlags As Long, ByVal uTimeout As Long, _
lpdwResult As Long) As Long
Private Const HWND_BROADCAST As Long = &HFFFF&
Private Const WM_SETTINGCHANGE As Long = &H1A
Private Const SMTO_ABORTIFHUNG As Long = &H2
-- Randy Birch MS MVP Visual Basic http://vbnet.mvps.org/ "Tyler Allen" <noemail@blah.com> wrote in message news:ecFQXUdzEHA.576@TK2MSFTNGP14.phx.gbl... : I am adding sites to security zones in Internet Explorer through the : registry. I would like a way to force Internet Explorer to "refresh" the : browser with the new settings. The functionality can be re-created by going : into security and adding a site to a zone. Once you click "OK", your new : site will instantly show in that zone. Any and all help is appreciated. : :
- Next message: Klaus H. Probst: "Re: Feedback on recursive file search..."
- Previous message: Tyler Allen: "Internet Explorer Security Settings Refresh"
- In reply to: Tyler Allen: "Internet Explorer Security Settings Refresh"
- Next in thread: Tyler Allen: "Re: Internet Explorer Security Settings Refresh"
- Reply: Tyler Allen: "Re: Internet Explorer Security Settings Refresh"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|