Re: VB networking app
From: Mike (mikeotown_at_nospam.msn.com)
Date: 03/03/04
- Next message: Max: "IOCP Beginner"
- Previous message: Olof Lagerkvist: "Re: Disable/Enable net drive"
- In reply to: Rhett Gong [MSFT]: "RE: VB networking app"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 3 Mar 2004 09:07:10 -0500
Thanks for the info.
"Rhett Gong [MSFT]" <v-raygon@online.microsoft.com> wrote in message
news:0VWsG32$DHA.464@cpmsftngxa06.phx.gbl...
> Hi Mike,
> From your description, you would like to know if there is a way to apply
proxy setting once they are retrieved. Have I understood correctly? Please
feel free
> to let me know if there is anything misunderstanding.
>
> WinHTTP proxy settings are different registry keys than IE/WinInet.
WinInet API can be used to pick up IE proxy settings. Moreover WinInet API
can be used
> to set/retrieve proxy settings for any HINTERNET handle. If this HINTERNET
handle is NULL, then the proxy settings used by IE are retrieved or
modified.
>
> Please refer the following MSDN article which describes this.
>
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wi
ninet/setting_and_retrieving_internet_options.asp>
>
> Quoting from this article, "In addition to the various HINTERNET handles,
an application can also use NULL to set or retrieve the default values of
the Internet
> options used by Internet Explorer and the Win32 Internet functions.
Setting Internet options when using NULL as the handle will change the
default values of
> the options, which is currently stored in the registry."
>
> The APIs used for these set and retrieve are InternetSetOption and
InternetQueryOption which are explained in
>
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wi
ninet/internetsetoption.asp> and
>
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wi
ninet/internetqueryoption.asp>.
>
> A list and description of the flags is available at
>
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wi
ninet/option_flags.asp>.
>
> For how to enable Internet Functionality:
>
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wi
ninet/enabling_internet_functionality.asp>
>
>
> Best regards,
> Rhett Gong [MSFT]
> Microsoft Online Partner Support
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> Please reply to newsgroups only. Thanks.
>
>
>
>
>
>
>
>
>
>
- Next message: Max: "IOCP Beginner"
- Previous message: Olof Lagerkvist: "Re: Disable/Enable net drive"
- In reply to: Rhett Gong [MSFT]: "RE: VB networking app"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|