Click to See Complete Forum and Search --> : Setting Proxy Server with IE Object?
poolwin2001
March 9th, 2005, 02:29 AM
Can we set proxy server for LAN using IE Object?
Manually its done by:Tools->Internet Options->connections->LAN settings.
Can we do that with the IE object?
Thanks in advance.
Naumaan
March 9th, 2005, 03:29 AM
I think it can be done through Registry setting see the following link for further information Click Here (http://www.codeproject.com/internet/changeproxy1.asp)
poolwin2001
March 9th, 2005, 04:34 AM
Thanks.But I knew that.I Set a proxy server with IE and Searched for it in the registry and found the relavant key.
But as am I doing this in PHP,which I believe, cant change the registry nor Can it acess APIs as mentioned in the article.
Can I do it with IE Object?
Is the proxy stored as a property in InternetExplorer.Application, so that I could change it?
Naumaan
March 9th, 2005, 09:50 PM
Can I do it with IE Object?
Is the proxy stored as a property in InternetExplorer.Application, so that I could change it?
There is a constraint in your point of view, If any application currently not opened then its configuration must be stored in some Repository just like Registry,INI file etc so how u can chage its setting while it is not open through any object. Lets suppose IE is running and u want to change its proxy setting then IE supposed to have a message handler or function to change its proxy setting. I think If it did not have such message handler or function then u cannot do this.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.