I'm _totally_ new at creating ADOB.Stream objects, etc. - and I've been able
to succesfully implement the code that Tom Lavedas supplied to me.

However, my question is this:

I also want to utilize this code to download the McAfee program, and I need
it to check the remote exe contained in the url for it's current version.
If the version on the server is newer than what I have in my folder, then I
want it to go ahead and download it.

I've had no luck in finding any information on how to pull the XMLHTTP
object version. Anyone have any ideas and know what the correct
properties/methods are to get such information?

Rob

RE: Getting version of Microsoft.XMLHTTP object prior to ADOB.Stream? by tlavedas

tlavedas
Wed Jun 16 16:33:01 CDT 2004

I'm confused. Your subject says you want the version of Microsoft.XMLHTTP, while the body seems to say you want the version of the executable. Which is it? Why would you care about the Microsoft.XMLHTTP object's version number in this context?

If it is indeed the executable, I can't suggest an answer for the version number, but I can offer you a way to get the file's date from the server using Microsoft.XMLHTTP ...

set oXML = CreateObject("Microsoft.XMLHTTP")
oXML.open "GET", sURL, False
oXML.send
sLongDate = oXML.getResponseHeader("Last-Modified")

It might be enough.

BTW, Microsoft.XMLHTTP is not ADO. The two objects do entirely different tasks. The first connects to the internet, while the second processes data.

Tom Lavedas
===========

"R Dunn" wrote:

> I'm _totally_ new at creating ADOB.Stream objects, etc. - and I've been able
> to succesfully implement the code that Tom Lavedas supplied to me.
>
> However, my question is this:
>
> I also want to utilize this code to download the McAfee program, and I need
> it to check the remote exe contained in the url for it's current version.
> If the version on the server is newer than what I have in my folder, then I
> want it to go ahead and download it.
>
> I've had no luck in finding any information on how to pull the XMLHTTP
> object version. Anyone have any ideas and know what the correct
> properties/methods are to get such information?
>
> Rob
>
>
>

Re: Getting version of Microsoft.XMLHTTP object prior to ADOB.Stream? by R

R
Wed Jun 16 17:10:43 CDT 2004

Thanks Tom - part of the learning experience is to know when to use 'object'
and 'method' in the correct context, respectively.

I'll try this tonight, and again, I thank you...

Rob

"Tom Lavedas" <tlavedas@hotmail.remove.com> wrote in message
news:521D2592-24DB-45B7-A466-270DB8A67DB7@microsoft.com...
> I'm confused. Your subject says you want the version of
Microsoft.XMLHTTP, while the body seems to say you want the version of the
executable. Which is it? Why would you care about the Microsoft.XMLHTTP
object's version number in this context?
>
> If it is indeed the executable, I can't suggest an answer for the version
number, but I can offer you a way to get the file's date from the server
using Microsoft.XMLHTTP ...
>
> set oXML = CreateObject("Microsoft.XMLHTTP")
> oXML.open "GET", sURL, False
> oXML.send
> sLongDate = oXML.getResponseHeader("Last-Modified")
>
> It might be enough.
>
> BTW, Microsoft.XMLHTTP is not ADO. The two objects do entirely different
tasks. The first connects to the internet, while the second processes data.
>
> Tom Lavedas
> ===========
>
> "R Dunn" wrote:
>
> > I'm _totally_ new at creating ADOB.Stream objects, etc. - and I've been
able
> > to succesfully implement the code that Tom Lavedas supplied to me.
> >
> > However, my question is this:
> >
> > I also want to utilize this code to download the McAfee program, and I
need
> > it to check the remote exe contained in the url for it's current
version.
> > If the version on the server is newer than what I have in my folder,
then I
> > want it to go ahead and download it.
> >
> > I've had no luck in finding any information on how to pull the XMLHTTP
> > object version. Anyone have any ideas and know what the correct
> > properties/methods are to get such information?
> >
> > Rob
> >
> >
> >