The adm files contain representations of registry settings to be
applied. Your best bet here would be to use Win32::TieRegistry to set
the appropriate reg key to control IE's proxy settings. If you are
within Active Directory it's easy to apply the policy via the group
policy console, but it all ends up as registry keys eventually anyway.

Try modifying these in a logon script or similar:

HKCU\Software\Microsoft\windows\CurrentVersion\Internet
Settings\ProxyEnable 0x1        
HKCU\Software\Microsoft\windows\CurrentVersion\Internet
Settings\ProxyServer "server:port"

Paul 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Ing. Branislav Gerzo (mail-lists)
Sent: 11 April 2005 12:02
To: perl-win32-users@listserv.ActiveState.com
Subject: Re: change IE proxy settings

$Bill Luebkert [BL], on Friday, April 08, 2005 at 04:52 (-0700)
thoughtfully wrote the following:

BL> Check out Win32::Internet instead of using the API:

I checked it first, but I think this works only in one perl script
(make constructor of $INET connection and using it). I'd like to
change proxy settings in _real_ IE, so when I run it, I will have
changed settings. I'm using another module, which uses real IE.

BL> # try something like this instead of API (check docs in
Win32::Internet)
BL> # you'll have to play with it to get the desired results I assume -
I have
BL> # no experience with it.

BL> my $I = new Win32::Internet('', INTERNET_OPEN_TYPE_PROXY,
'<your-proxy-host>') or
BL>   die "new Win32::Internet: $! ($^E)";

thanks, I tried, no luck.

-- 

 ...m8s, cu l8r, Brano.

[* <- Tribble  = <- Tribble after laying on RR tracks]




_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

*****************************************************************
Gloucester Research Limited believes the information 
provided herein is reliable. While every care has been 
taken to ensure accuracy, the information is furnished 
to the recipients with no warranty as to the completeness 
and accuracy of its contents and on condition that any 
errors or omissions shall not be made the basis for any 
claim, demand or cause for action.
*****************************************************************


_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to