Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Canada
 Pete Sass
 To: JLW Smith
  Where is JLW Smith?
 
 United Kingdom
 JLW Smith
 Tags
Subject: RE: Determine Proxy Settings
Thread ID: 344561 Message ID: 345185 # Views: 33 # Ratings: 0
Version: Visual FoxPro 8 Category: Win32API programming
Date: Saturday, May 19, 2012 7:59:01 PM         
   


> >
> >
> > Hi,
> > No but you can obtain in VFP by obtaining information from the Windows Registry at this registry location for Windows 7
> >
> >
> > [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
> > "MigrateProxy"=dword:00000001
> > "ProxyEnable"=dword:00000001
> > "ProxyHttp1.1"=dword:00000000
> > "ProxyServer"="http://ProxyServername:80"
> > "ProxyOverride"=""
> >
> > I believe the same location for this information is found in XP as well.
> >
> > Google "Foxpro read window registry" and you will find tons of examples on how to read values from specific keys.
> >
> > Pete "the IceMan", from the Great White North of Canada.
> > www.marathongriffincomputers.com
>
> Thanks Pete. Initially I wanted to steer away from using the registry but it was by far the quickest solution.


Hi,
Yes in a case like this the VFP code to read the appropriate registry key is the simplest approach.
Pete "the IceMan", from the Great White North of Canada.
www.marathongriffincomputers.com

ENTIRE THREAD

Determine Proxy Settings Posted by JLW Smith @ 5/10/2012 4:42:01 PM
RE: Determine Proxy Settings Posted by Pete Sass @ 5/14/2012 11:19:10 PM
RE: Determine Proxy Settings Posted by JLW Smith @ 5/19/2012 11:27:03 AM
RE: Determine Proxy Settings Posted by Pete Sass @ 5/19/2012 7:59:01 PM