Ah, the simplest of things tend to elude me...I was writing some code in my apps so they could check my web site and tell the user if there was a later version of the software available. You know, "the version you are using is buggy, would you like to update a new version with different bugs?"
I scoured the archives and read a back issue of RBD for hints on how others did it. To make the http page I ended up using Apples Property Editor and pasted the dump into an html object in Freeway Pro. On the application end I had a special class, a window, a number of globals and enough glue to hold all the spaghetti together and make it work. It does work. Not real easy to trace through...:-( However after trying to move the "update code" to another project, I could see that it was also a perfect example of how "not" to do it. Love those perfect examples I make. I've heard talk of containers and hadn't used them. Actually I wasn't even sure what they did. So after a bit of reading, and some testing, I got all the updating code in a container. I drag that to my project and add about 4 lines of code and Bob's your uncle. Works peachy. In both timed and instant modes. No doubt there's a bunch of gotcha's for containers but they simplified my code. That's a good thing...:-) Mel _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
