PDA

Click to See Complete Forum and Search --> : Reading the version from the net


Mc Brain
Apr 6th, 2000, 02:35 AM
Hi Everybody! I was wondering whether anybody could help me. I'm writing a program and would like to add the option to check in the net if there's a new version of the program on the net. I know how to compare the version and how to now if it's newer or not and all that stuff. What I need is an idea about how I can get the lastest version available. I thought I upload an HTML to the server that says the number of version, but have no clue about how to "capture" that information from VB. I mean, I can use the WebBrowser, to open the page... but then? How Do I read the html code?

Thanks

agent
Apr 6th, 2000, 07:38 AM
I'd use the Internet Transfer Control instead of the browser control, because it actually returns the content of a site. BTW, to make it easier for your program, you might make the version info file a text file rather html, because your program will have to parse through the html.

Mc Brain
Apr 6th, 2000, 10:53 AM
You know, the few times I tried to use it, I couldn't. But, I guess It's about time to re-try it. And I succeeded. Thanks for "encourage" me.