borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Winsock)Next Topic (Help on \"Server Socket\" in Delphi 7) New Topic New Poll Post Reply
AndreaVB Forum : Network : wininet API problem
Poster Message
akhil_gupta
Level: Guest


icon wininet API problem

Hi,

We are working on providing download functionality in VB application.
We are not able to download files if they require proxy authentication but working fine if they require default settings of windows registry.
Can you please help us in this direction?

Thanks and Regards,
Akhil

21-03-2003 at 07:35 AM
| Quote Reply
Lycaon
Level: Guest

icon Re: wininet API problem

Could you provide a bit more detail about what you're trying to do?

Are you trying to transfer files through a web/HTTP/SOCKS4/SOCKS5 proxy server that requires a username and password?

23-06-2004 at 02:01 PM
| Quote Reply
appy
Level: Guest

icon Re: wininet API problem

Hi,

  I am facing a similar problem. Only I am not trying to send a file but send message to a server on the net to say display the contents of the web page. I am not able to enter the proxy information into the piece of code.

InternetSetOption (hConnect, INTERNET_OPTION_PROXY_PASSWORD,szPass, lenPass+1);

Does not help. COuld you tell me the flags associated with Internet_open_type_proxy? The flags that I am using are:
                
                INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTP | INTERNET_FLAG_KEEP_CONNECTION |
INTERNET_FLAG_NO_AUTH |
INTERNET_FLAG_NO_AUTO_REDIRECT | INTERNET_FLAG_NO_UI |
INTERNET_FLAG_HYPERLINK| INTERNET_FLAG_RELOAD;

Could you please tell me what could be wrong with the piece of code.

thanks in anticipation,
appy.

06-07-2004 at 03:36 AM
| Quote Reply
AndreaVB Forum : Network : wininet API problem
Previous Topic (Winsock)Next Topic (Help on \"Server Socket\" in Delphi 7) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder