From: Siep Korteling Date: 2008-03-10T22:28:50+09:00 Subject: Re: How to get and set the proxy of IE? Siep Korteling wrote: > Wu Junchen wrote: >> I want to let my program connect to internet using the proxy setting of > Regards, > > Siep Should be: require 'win32/registry' def get_proxy path = 'Software\Microsoft\Windows\CurrentVersion\Internet Settings' type, value = Win32::Registry::HKEY_CURRENT_USER.open(path).read('ProxyServer') #! return reg_value end regards, Siep -- Posted via http://www.ruby-forum.com/.