Re: refresh IE "security zone" setting
From: mayayana (mayaXXyana1a_at_mindYYspring.com)
Date: 12/26/04
- Next message: Santino: "Reference count increments when IOleObject::SetClientSite(myBrowserCtl)"
- Previous message: Guenther Muranyi: "refresh IE "security zone" setting"
- In reply to: Guenther Muranyi: "refresh IE "security zone" setting"
- Next in thread: Guenther Muranyi: "Re: refresh IE "security zone" setting"
- Reply: Guenther Muranyi: "Re: refresh IE "security zone" setting"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 26 Dec 2004 16:25:46 GMT
The following is a VB version of code that works
in IE 4 and 5. I've never found what works in IE6
and in monitoring messages I was unable to see
a message being sent to IE6 that tells it to update.
It's possible that notifying IE6 now requires either
a restart or opening the settings window.
Public Const WM_USER = &H400
Public Const IECLASS_HIDDEN = "Internet Explorer_Hidden"
Public Const SMTO_ABORTIFHUNG = &H2
Public Const IEM_PROPCHANGE = WM_USER + 338&
Dim hIE as long, LRet as long
hIE = FindWindow(IECLASS_HIDDEN, vbNullString)
If hIE <> 0& Then
SendMessageTimeout hIE, IEM_PROPCHANGE, ByVal 0&, ByVal 0&,
SMTO_ABORTIFHUNG, 5000&, lRet
End If
-- _____________________________ mayayXXana1a@mindYYspring.com For return email remove XX and YY. _____________________________ Guenther Muranyi <guenther.muranyi@web.de> wrote in message news:#Z6Hgto6EHA.1264@TK2MSFTNGP12.phx.gbl... > I modify the internet security zone settings in the registry under: > HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet > Settings\ZoneMap\Domains > I add a new domain to a security zone. > > How can i force existing IE 6.0 instances to refresh THIS setting. > > Thanks > Guenther > >
- Next message: Santino: "Reference count increments when IOleObject::SetClientSite(myBrowserCtl)"
- Previous message: Guenther Muranyi: "refresh IE "security zone" setting"
- In reply to: Guenther Muranyi: "refresh IE "security zone" setting"
- Next in thread: Guenther Muranyi: "Re: refresh IE "security zone" setting"
- Reply: Guenther Muranyi: "Re: refresh IE "security zone" setting"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|