little help please

Getox

Centurion
Joined
Jul 8, 2004
Messages
122
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.
 
Getox said:
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...
 
Back
Top