One point worth mentioning is that MSXML 4.0 is not supported in win95.
Satya
----- Original Message -----
From: "Joe Hughes" <JoeHughes@M...>
To: "professional vb" <pro_vb@p...>
Sent: Friday, August 16, 2002 1:19 PM
Subject: [pro_vb] Re: WInInet Programming - Specifying HTTP Timeout
> WinHTTP is better at acheiving this sort of thing, this too is bundled
with
> MSXML 4.0. WinHTTP is basically focused on HTTP not XML, so is easier
> understood and more powerful. WinHTTP has a "WaitForResponse" property, so
> you can tell it how long to wait for a response. The other method is when
> you receive data back from the webserver you will get a status of "200".
You
> could simply set a time flag when you call send(), then loop around until
> the status is 200 or the dateDiff is greater than a timeout period.
>
> There is plenty of documentation and tutorials on the Microsoft site.
>
http://msdn.microsoft.com/library/default.asp?url=/workshop/networking/winht
> tp/winhttp_node_entry.asp
>
http://msdn.microsoft.com/library/default.asp?url=/workshop/networking/winht
> tp/overview.asp
>
> As Satuajeet mentioned for the XML parser, WinHTTP also supports
connections
> through proxies etc. If you have trouble connecting to a website with
> WinHTTP use the ProxyCFG program to check your proxy settings;
> http://msdn.microsoft.com/workshop/networking/winhttp/proxycfg.asp
>
> The download for the XML parser (now known as core services) is;
>
http://download.microsoft.com/download/xml/SP/40SP1/WIN98MeXP/EN-US/msxml.ms
> i
>
> HTH
>
> Joe Hughes
>
> ----- Original Message -----
> From: "Satyajeet Hattangadi" <satyajh@m...>
> To: "professional vb" <pro_vb@p...>
> Sent: Friday, August 16, 2002 6:39 AM
> Subject: [pro_vb] Re: WInInet Programming - Specifying HTTP Timeout
>
>
> > you can emulate the post using Microsoft xml parser instead, the
msxml4.0
> > has a timeout property if im not mistaken..check it out.. if you need an
> > example i can mail you one...another advantage of xml parser is that
even
> > proxies with authentication can be handeled ...
> > HTH
> > satya
> >
> > ----- Original Message -----
> > From: <tomkorah@r...>
> > To: "professional vb" <pro_vb@p...>
> > Sent: Thursday, August 15, 2002 3:23 PM
> > Subject: [pro_vb] WInInet Programming - Specifying HTTP Timeout
> >
> >
> > > Hi All,
> > > I'm using the Function below to send an HTTP POST request from my VB
> > > application. But sometimes the whole application hangs for a time
period
> > > as it is the case with browser. But users wont tolerate this delay
with
> > > the application as they would with a browser. The funcion is
> > >
> > > bRet = HttpSendRequest(hHttpOpenRequest, _
> > > lpszHeaders, _
> > > lpHeadlen, _
> > > lpszPostData, _
> > > lPostDataLen)
> > >
> > > Is there anyway to specify a timeout?? I use the wininet.dll to send
and
> > > receive HTTP request and response.
> > >
> > > Somebody please helpme out.
> > >
> > > Thanks
> > > Tom.
> > >
> > > ---
> > > Visual C# - A Guide for VB6 Developers
> > > This book will make it easy to transfer your skills
> > > from Visual Basic 6 to C#, the language of choice
> > > of the .NET Framework.
> > > http://www.wrox.com/ACON11.asp?ISBN=1861007175&p2p0059
> > >
> > >
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.361 / Virus Database: 199 - Release Date: 07/05/2002
> >
> > *********************************************************
> > Disclaimer
> >
> > This message (including any attachments) contains
> > confidential information intended for a specific
> > individual and purpose, and is protected by law.
> > If you are not the intended recipient, you should
> > delete this message and are hereby notified that
> > any disclosure, copying, or distribution of this
> > message, or the taking of any action based on it,
> > is strictly prohibited.
> >
> > *********************************************************
> > Visit us at http://www.mahindrabt.com
> >
> >
> > ---
> > Visual C# - A Guide for VB6 Developers
> > This book will make it easy to transfer your skills
> > from Visual Basic 6 to C#, the language of choice
> > of the .NET Framework.
> > http://www.wrox.com/ACON11.asp?ISBN=1861007175&p2p0059
> >
> >
>
>
>
> ---
> Visual C# - A Guide for VB6 Developers
> This book will make it easy to transfer your skills
> from Visual Basic 6 to C#, the language of choice
> of the .NET Framework.
> http://www.wrox.com/ACON11.asp?ISBN=1861007175&p2p0059
>
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.361 / Virus Database: 199 - Release Date: 07/05/2002
*********************************************************
Disclaimer
This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.
*********************************************************
Visit us at http://www.mahindrabt.com