Question : Add address to the Intranet Zone in IE using code

I need to add a URL to the list of trusted sites in my Intranet zone.
I'm looking for a way to this automatically, in order to save my users the need to configure it manually.
Is there a way to do this from code? I have an ActiveX running on all of their systems, so I can add the code to it, if it's possible.
Thanks.

Answer : Add address to the Intranet Zone in IE using code

Hi Optibase1,
You can use "IInternetSecurityManager::SetZoneMapping" classes and it have to check the system registry as well.
Here are the useful artiles to mention the complete details regarding the requested:
http://msdn.microsoft.com/en-us/library/ms537143(VS.85).aspx
http://download.microsoft.com/download/a/9/9/a9927d31-d1ff-4c4f-a66c-81937c1c450a/IESecConfig.doc

Similiar questions for extra checking the server verifications using the mentioned:
http://bytes.com/forum/thread572015.html
Random Solutions  
 
programming4us programming4us