Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: TWebBrowser - How do I load proxy username and password before TWebBrowser.N

www.cryer.info
Managed Newsgroup Archive

Re: TWebBrowser - How do I load proxy username and password before TWebBrowser.N

Subject:Re: TWebBrowser - How do I load proxy username and password before TWebBrowser.N
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Tue, 15 Aug 2006 13:35:48

"jason" <jason@messagemotionremovedot.com.au> wrote in message
news:44e13acd$1@newsgroups.borland.com...

> I know the proxy port/server/username/password which I store in
> the database, but how do I pass those details to the TWebBrowser
> component "before" I navigate to the URL?

You can't.  TWebBrowser is a simple wrapper of the Internet Explorer ActiveX
control.  As such, proxy support is managed in IE's settings dialog.  You
can't set the values programmably.  If you want to do that, then you can't
use TWebBrowser at all.  You will have to program for the HTTP protocol
directly, such as with Indy or other third party library, or with
Microsoft's WinInet or WinHTTP APIs.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive