webbrowser object and proxy

bensonsearch

Well-known Member
Joined
May 26, 2011
Messages
844
Hi All,

im making a web browser using the webbrowser object, all going awesome. only thing is I can not find a way to code in a proxy to use (i know the settings are taken from IE but surely there is a way to change that by code) all examples i have found on the web are for vb.net which do not apply. any help is welcome
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
As far as I'm aware you'd need to change the appropriate registry key. Someone asked a very similar question fairly recently - see http://www.mrexcel.com/forum/showthread.php?t=550350.

The only difference is that you want to write the key rather than just read it, so you'd do something like this:-
Code:
[FONT=Courier New]SetKeyValue "Software\Microsoft\Windows\CurrentVersion\Internet Settings", _[/FONT]
[FONT=Courier New]    HKEY_CURRENT_USER, "ProxyServer", "192.168.0.1:8080", REG_SZ[/FONT]
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,598
Messages
6,179,818
Members
452,946
Latest member
JoseDavid

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top