Shoutbox

Internet Explorer Zone (Visual Basic) - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Internet Explorer Zone (Visual Basic) (/showthread.php?tid=54007)

Internet Explorer Zone (Visual Basic) by DJeX on 12-18-2005 at 05:50 AM

How would I add/remove sites from Internet Explorer's Restricted Zone useing Visual Basic? I can't seem to find it on Google.


RE: Internet Explorer Zone (Visual Basic) by matty on 01-04-2006 at 05:41 PM

Sorry for the late post.

If you have a module for registry access all you need to do is create a key then a dword value in here: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains

So an example would be a subkey named google.ca
and a dword having the name http and the value 4 will add it to the restricted zones.

Easiest way to find things out this way is to use a RegistryMonitor (from http://sysinternals.com) and only watch the iexplore.exe process then add the site and you will see all the registry changes made :).


RE: Internet Explorer Zone (Visual Basic) by DJeX on 01-04-2006 at 06:18 PM

:D thanks!