I want to a code that will enable me to change the proxy setting of my IE from a vb code. Since I use my laptop at home and at school, I am getting tired of changing the proxy setting and releasing and renewing my IP (through winipcfg) all the time I change places
What I need is:
-A vb code that accepts a command line parameter (that is the name of the proxy server) and sets it as a proxy server (I think this can be done using wininet.dll functions)
-Release and renew the ip address (I think this can be done by using winipcfg /release_all and winipcfg /renew )
So that I can put this program (after making it an exe) as a startup program and I don't have to change anything.
I would really appreciate it if someone gives me a fully working code.(IF it is complete and I don't have to change anything, I promise to add additional 50 points, cross my heart)