Login to participate
  
       
Register   Lost ID/password?
Louis Kessler’s Behold Blog » Blog Entry           prev Prev   Next next

Tuesday, March 29, 2005 - Tue, 29 Mar 2005

Third time’s a charm!

My third alternative was from within Behold, to go out to my website, check a file that says what the current version is, and report back if that version is the same as that of the program running. My hesitancy with that I thought this would be a lot of work. But it wasn’t as bad as I expected.

The real problem is finding a good way to check if the user is connected to the Internet. Nothing is 100% reliable. And I may have to use a call to a WinInet.dll which is a windows-based file that I’m not sure is necessarily be installed with every version of Windows on everyone’s computer. So I need to allow the user a way around it if Behold incorrectly thinks there’s no current live Internet connection.

But hopefully it will work well enough. I set up a few nifty icons representing “Disconnected”, “Connected” and “Downloading” which will go in a new section on the status bar next to the memory dials. I like it! Now I can even use that “Downloading” icon whenever Behold gets anything from the Internet, such as going to Behold’s website or viewing this Blog from the command on the Help menu.

No Comments Yet

Leave a Comment

You must login to comment.

Login to participate
  
       
Register   Lost ID/password?