Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change/set the proxy settings using a VB app.

Status
Not open for further replies.

rikeman

Programmer
Sep 18, 2004
40
BE
Hi,

I need to change/set the proxy settings using a VB app.

I am aware that there is a registry key etc for this, but I dont really know how to use it. What I'm trying to do is - use the VB web browser control VIA a proxy, (easy if using Inet, but that dosent do the job :(.)

Somehow I need to: Set the proxy server, then load a page in the VB Web Browser... Set proxy server, Goto page... and so on. (Im ok with the browser side its just the setting proxy.)

If anyone was to know a way to get the browser to go via a proxy, but not affect the rest of windows that would be 100 times better!

Many regards,
Rikeman.
 
You need to change the registry entries in

HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings

The values "ProxyServer" and "ProxyEnable" are the ones you're after.

Andy
--
"Logic is invincible because in order to combat logic it is necessary to use logic." -- Pierre Boutroux
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top