Results 1 to 8 of 8

Thread: Is there a way to have vb check to see if a a newer version exists?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Is there a way to have vb check to see if a a newer version exists?

    Hi there folks! I am working on a math tools suite for K-Grade 5 teachers. I am finishing up the apps now, but I would like to add a feature where if I were to update the program, instead of burning new DVD's or emailing all of them, have the program they would be getting check online to see if a newer version exists (maybe somehow check the date the updated file was modified?), and if it is newer, then download it?

    Would anyone have any experience with that sort of thing?

    Thanks!!

  2. #2
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,296

    Re: Is there a way to have vb check to see if a a newer version exists?

    [...]
    Last edited by dz32; Apr 26th, 2019 at 12:02 PM.

  3. #3
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Is there a way to have vb check to see if a a newer version exists?

    Make it simple, just post a text file (with your version number, date, etc. in it) alongside your download package. Easy to check and no need to parse any HTML junk overhead.

  4. #4
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Is there a way to have vb check to see if a a newer version exists?

    Don't quite understand that, dil. If I have a CD of the 1st version and OP makes a new version how then does my copy know a new version is available with this text file


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  5. #5
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,272

    Re: Is there a way to have vb check to see if a a newer version exists?

    Dil is referring to having the text file hosted on a website somewhere. Your app downloads the text file and reads its content, comparing it to App.Major, .Minor etc.
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  6. #6
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Is there a way to have vb check to see if a a newer version exists?

    When I read post #2 I kind of got the idea thats what dz32 was suggesting even thou he didn't mention a text file per se


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  7. #7
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,272

    Re: Is there a way to have vb check to see if a a newer version exists?

    Yup. And you'd be right. Dil's suggestion merely obviates the need for an HTML page that needs to be parsed. i.e. it is far easier to store such simplistic information inside a plain text file: That was his point, I believe...
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  8. #8
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Is there a way to have vb check to see if a a newer version exists?

    That's pretty much it. Plain text is a little easier to work with and HTML adds no value here. But you could also use any other format such as binary data, XML, JSON, etc. For a simple timestamp or version number though text ought to be fine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width