Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / October 2007

Tip: Looking for answers? Try searching our database.

Updater through Remote XML: Advice

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AGP - 21 Oct 2007 08:35 GMT
I am implementing a very simple check routine that goes to my website and
reads an XML file.
The XML file basically contains all info for my apps and their current
status. All I need to do is just read
the version node and compare it to the current node and then advise the user
to visit the website
for the new version. Ive looked at ClickOnce and other methods but I would
like to implement
something simpler. Anyway, has anyone done this before? My XML will look
something like this:

<?xml version="1.0" encoding="utf-8"?>
<Apps>
 <App id="0001" title="BigApp">
   <!--This is a comment-->
<Name>Big Application</Name>
<LatestVersion>1.0.0.0</LatestVersion>
<DownloadURL>http://www.mysite/files/MyApp100.exe</DownloadURL>
<News>
 Version 1.0.0
 New feature

 Version 0.90
 -----------
 * Original release.
</News>
 </App>
</Apps>

Any advice or recommendations as to how to setup my XML file? I alreday have
the code that goes to the
remote server and reads the XML file. I guess im just asking if this is the
way to go with my simple checker.

AGP
Joe Fawcett - 23 Oct 2007 12:49 GMT
That looks reasonable, maybe splitting the version number into its
constituent parts would make comparisons easier but that could also be done
in the actual comparison code and you have no guarantee that all version
numbers follow the same format. (Or perhaps you do as it's your app.)

Signature

Joe Fawcett (MVP - XML)

http://joe.fawcett.name

>I am implementing a very simple check routine that goes to my website and
> reads an XML file.
[quoted text clipped - 34 lines]
>
> AGP
AGP - 24 Oct 2007 04:28 GMT
thanks for the input. i do the version checking in code and i will attempt
to cover all formats of version numbers. so it should work regardless
if i write 1 or 1.2 or 1.3.5.7.

AGP

> That looks reasonable, maybe splitting the version number into its
> constituent parts would make comparisons easier but that could also be
[quoted text clipped - 41 lines]
>>
>> AGP

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.