Welcome to CrankyGoblin.Com Sign in | Join | Help

Public Class GeoffAppleby

Inherits Microsoft.VisualBasic.MVP : Implements IBrainFart
Proxy support (and lack of)

So who's written apps that require some sort of request over the internet?

OK, of those people, who actually stopped to consider the fact that some people use proxies?

Right, now of those people, who actually took the time to think of the fact that most users don't actually know what a proxy is? Or that in many business setups, the users are stuck with a proxy.pac file?

Right, of the 2 of you left, how did you go about implementing proxy support?

It seems that many MS provided libraries have very poor proxy support. I'm currently working on an IE toolbar that downloads an RSS feed and scrolls the latest news headlines to the user.

To get this feed, i need to contact a website to get it, but I can't use IE to get it for me, because it interrupts the user experience.

So i'm using MSXML to get it for me - perfect, you would think - especially since RSS is XML, except that it's proxy support is pretty limited. For XmlHTTP, you can use a proxy, but only if it's preset in the proxy store for it. For ServerXmlHTTP, you can specify the proxy host in the call.

So how do i go about getting the proxy information without interrupting the end user at some point? I'd like to get the information from IE, since it _should_ already know it. I can get a set proxy host from the registry - easy. I can find out if they have a proxy.pac file set - easy.

I haven't figured out yet how to tell if they have 'auto detect' ticked. Anyone know the reg entry for that?

If they do have a proxy.pac file set, do i really want to go to the effort of parsing it?

So, does anyone happen to know of or have that can work all this out for me? This is language independant - i can mis-shape it into what i need so long as it's a relatively common language. What i'd like is a method call to _something_ (preferably something that already exists in windows) that returns to me a proxy host to use, if required.

Of course, for this project, i'm stuck in VB6 land. While if i have to prompt the user for their proxy information, i will, i'd prefer not to.

Listening to: lightning crashes - live - (5:25)
Posted: Monday, 30 August 2004 10:30 AM by Geoff Appleby

Comments

Randy said:

Geoff,

It doesn't seem like you received any responses to your post. Have you gain any knowledge on the subject?

I have a VB6 client that interfaces with a webservice and does not work if the application is behind a proxy. Any help would be helpful!

Randy
# August 16, 2005 5:50 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

To submit your comment, click on these pictures:
  • Angry Geoff
  • Geoff's mother on a booger hunt
  • Geoff's little sister's pussy
Gaptcha Image - No Peeking! Gaptcha Image - No Peeking! Gaptcha Image - No Peeking!
Gaptcha Image - No Peeking! Gaptcha Image - No Peeking! Gaptcha Image - No Peeking!
Gaptcha Image - No Peeking! Gaptcha Image - No Peeking! Gaptcha Image - No Peeking!
Can't recognise the people in these pictures? Look here for a quick introduction.
There's a time limit for you to get your comment submitted before this set of pictures expires. If you think it's been longer than 10 minutes, get some new pictures first (you won't lose what you've typed so far).
Get some new pictures 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS