WinInet InternetSetOption in VB.NET

T

Tom Gimpel

Hi - I'm trying build a small utility to toggle the state of "use
proxy server" setting in IE. In VB6 I could have used the WinInet api
with InternetSetOption - but I cannot get this working in .NET.
I tried looking through the SYSTEM.NET space but could not find an
equivelant that handles the bypass and the notify.
I've seen a few postings of folks trying it, but haven't seen
anybody publish something working. Has anyone gotten calls to
InternetSetOption in WinInet to work in VB.NET?
Respond here or to (e-mail address removed) - leave the NO_SPAM off

Thanks so much!
 
H

Herfried K. Wagner [MVP]

Hello,

Tom Gimpel said:
Hi - I'm trying build a small utility to toggle the state of "use
proxy server" setting in IE. In VB6 I could have used the WinInet api
with InternetSetOption - but I cannot get this working in .NET.
I tried looking through the SYSTEM.NET space but could not find an
equivelant that handles the bypass and the notify.
I've seen a few postings of folks trying it, but haven't seen
anybody publish something working. Has anyone gotten calls to
InternetSetOption in WinInet to work in VB.NET?

Let's have a look at your declaration of InternetSetOption.

Regards,
Herfried K. Wagner
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top