Re: refresh IE "security zone" setting

From: mayayana (mayaXXyana1a_at_mindYYspring.com)
Date: 12/26/04


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
>
>


Relevant Pages

  • Re: Changing Web Options
    ... The settings basically determine what browser features are used. ... If you're on an intranet and most folks have IE6 you should be okay ...
    (microsoft.public.office.setup)
  • Re: Secure Tools
    ... settings from users logging in as "guest?" ... The PC's are networked and use WN2000 and IE6. ... "Using Group Policy to Manage Internet Explorer" ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Internet Explorer Security Settings Refresh
    ... I tried to figure out what message IE6 ... Public Const IEM_PROPCHANGE = WM_USER + 338& ... Public Sub TellIE() ... Dim hIE As Long, lRet As Long ...
    (microsoft.public.vb.winapi)
  • Re: problem with oe and ie6 after installing xp pro
    ... "LAN Settings" button. ... this then allowed me to install after i tried it twice. ... > ie6 and oe didn't work. ... > download and install from microsoft and it starts to work but then it gets ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Cant access any url but I can ping things
    ... > I can't access any url's via IE6 ... Automatically detect settings is checked ... >I have the network set up correctly. ... > computers on the network, I can ping the other computers, ...
    (microsoft.public.windows.inetexplorer.ie6.setup)