get application check for new version on internet

get application check for new version on internet

am 19.11.2007 13:08:02 von u31673

Hi,

Is it possible to have an Access database application read a value from a
text file kept on a web server? for example, "
http://www.somedomain.com/updates/version.txt" contains a string: "1.2".

The application would read the string and compare to the current version kept
in a table and produce a msgbox if there was a newer version available.


my idea for the code:

go to the address - do I use the FollowHperLink command?

InternetVersion = ...................................??? Read the string
value from the website.

if dlookup("[Version]","tblSettings") <> InternetVersion then

msgbox "Newer version available on website."

endif


Would this be possible?

Thanks
Anthony

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/databases-ms-ac cess/200711/1

Re: get application check for new version on internet

am 19.11.2007 15:31:58 von Tom van Stiphout

On Mon, 19 Nov 2007 12:08:02 GMT, "biganthony" wrote:

Yes. Read up on XMLHTTP, with the GET verb.

-Tom.


>Hi,
>
>Is it possible to have an Access database application read a value from a
>text file kept on a web server? for example, "
>http://www.somedomain.com/updates/version.txt" contains a string: "1.2".
>
>The application would read the string and compare to the current version kept
>in a table and produce a msgbox if there was a newer version available.
>
>
>my idea for the code:
>
>go to the address - do I use the FollowHperLink command?
>
>InternetVersion = ...................................??? Read the string
>value from the website.
>
>if dlookup("[Version]","tblSettings") <> InternetVersion then
>
> msgbox "Newer version available on website."
>
>endif
>
>
>Would this be possible?
>
>Thanks
>Anthony