ID:182460
 
Hi,

I want to avoid the basic proxy authentication popup when browsing with the web browser control (system.windows.forms version) in VB 2K5.

I send a proxy-authorization header via a parameter in the "Navigate" method. The problem is that more communications take place (out of my control) so the header isn't always sent.

I've been trying to use the Navigating event in order to check for the header; however, it hasn't been working and I believe the event isn't always being fired.

Any suggestions on how to always send custom headers would be appreciated.

EDIT: I found a way to make it work.

Thanks,

- Mistaken

I recommend taking this request to a VB.net programming forum or someplace close. I would wager a bet that very few BYONDers are willing to touch VB.net with a 10 foot pole.
In response to Danial.Beta
Danial.Beta wrote:
I would wager a bet that very few BYONDers are willing to touch VB.net with a 10 foot pole.

Why?
In response to Android Data
I don't know about it now, but in the past it has been very poor language. A lot of the BYONDers who are going to move into another language see to go for better languages like C++ or easier languages like python, perl, and PHP. It also instantly locks you into a Microsoft way of doing things, giving you very little wiggle room, and making cross platform programming nearly impossible(mono is supposed to support .net, but I don't think there are any VB cross platform libraries or compilers), and I'm not just talking about Mac and Linux.

Just like java it seems to be a crippled language that only has the ease of use factor going for it, and if that is so important to you, there are better alternatives. Although I do speak from others reactions, as I've never really touched VB myself.
In response to Danial.Beta
VB is generally useful for creating graphical Windows applications under short time constraints. A lot of small companies I know of seem to use it internally to quickly speed up job related tasks. They're more cautious when actually developing software for their products.

Unfortunately, the ease of implementation leads to complications with flexibility. Documentation is scarce when using VB to access lower level MS stuff.

That being said, I thought some people on byond may have had experience with the web browser control (embedded IE) for creating a custom hub browser or something related.

- Mistaken
In response to Android Data
Because it is the hellspawn of Microsoft and pool of festering, rotting creatures to possible to imagine. Were you to look upon this act of copulation you would have been forced to crack your own skull open and personally rip out your mind, and destroy it as much as anything could possibly be destroyed, just to assure that in no future times, or possibly present, or hell, even, past, no being would be capable of exhume this arcane and evil knowledge locked away in the corridors of and recesses of your brain.

That is how bad VB is.
In response to Mistaken
Plenty do, but not with VB or .NET at all.
In response to Danial.Beta
Danial.Beta wrote:
I don't know about it now, but in the past it has been very poor language.

.NET brought a lot of sanity to the VB language. It still has its failings, like any other, but if you use it right (avoid VB6isms) it's much improved.