Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

im trying to get my program to check for updates

like when the user clicks "Check for updates" how will i make it read a page that has the new version number ?

 

i had something like this, but since i reinstalled vb when i build the app it crashes when checking for updates, help would be great.

Page Edit 2.0 Alpha 2 OUT NOW!

- Download Now -

Posted
im trying to get my program to check for updates

like when the user clicks "Check for updates" how will i make it read a page that has the new version number ?

 

i had something like this, but since i reinstalled vb when i build the app it crashes when checking for updates, help would be great.

 

You could always use an XML document and check using the built in XML .net functions. Here is a sample of the code I use to read XML documents:

 

[CS]XmlTextReader xtr = new XmlTextReader(strDocument);

XmlDocument xd = new XmlDocument();

xd.Load(xtr);[/CS]

 

strDocument can be local, or networked for example... @"C:\update.xml" or @"http://www.mywebsite.com/update/updatecheck.xml"... just some thoughts...

-Sean
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...