VB School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Lan Settings - Proxy Setting How can I tick Proxy Server Check Box in VB5,6 Rate Topic: -----

#1 LesK  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 11-January 09


Dream Kudos: 0

Share |

Lan Settings - Proxy Setting

Post icon  Posted 11 January 2009 - 06:58 PM

Firstly, I know little to nothing of VB code. What I need to know if it’s possible to Tick or Un-tick the Internet Explorer’s Local Area Proxy Server Check Box via VB5 or 6, or maybe even via a [au3] file. Any actual code would be appreciated. Using XP-sp3.
Was This Post Helpful? 0
  • +
  • -


#2 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • Icon

Reputation: 137
  • View blog
  • Posts: 4,622
  • Joined: 26-November 04


Dream Kudos: 2825

Expert In: J2ME, 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

Re: Lan Settings - Proxy Setting

Posted 12 January 2009 - 01:58 AM

Yes, it is possible.
You'll need to programmatically change ProxyEnable which is present in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\InternetSettings
ProxyEnable takes values 0 and 1.
Was This Post Helpful? 0
  • +
  • -

#3 no2pencil  Icon User is online

  • DIGI-TAL-HARD-CORE
  • Icon

Reputation: 816
  • View blog
  • Posts: 17,399
  • Joined: 10-May 07


Dream Kudos: 2925

Expert In: Goofing Off

Re: Lan Settings - Proxy Setting

Posted 12 January 2009 - 02:10 AM

I wrote this snippet that does this in assembler.

You could assemble it as a DLL & load it with your VB project, or just read the Windows API calls, they'll work the same.
Was This Post Helpful? 0
  • +
  • -

#4 LesK  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 11-January 09


Dream Kudos: 0

Re: Lan Settings - Proxy Setting

Posted 12 January 2009 - 02:12 AM

Thanks, at least now I know it's possible. now to find out how to do it in VB6.
Thanks for the quick reply.
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users