To my knowledge, no one has done this, but it could be useful. You would have to use NetStreams to check the version with a server program. That's fairly easy. The next step, copying the file, is a bit more work: you should be able to do it with nsoftware's ftp lib. Finally, your program could use the ShellExecute command to run the installer.
>OK, I figured out one of my questions: > >To auto run something after a warm boot, place it here: \Windows\StartUp > >--- In [email protected], "t2thecathp" <t2theca...@...> wrote: >> >> Is there a way auto update a NSBasic app from the handheld device? >> >> I have NSBasic set to retain the CAB file when an installer file is >created (when you press F5). From the handheld device, I close the open >NSBasic application and I use Internet Explorer to go to a webserver and >download a CAB file. The CAB file executes and handles the install/ >reinstall of the NSBasic app. >> >> What I would like to do is pass AppMinor and AppMajor to a web server, >and let the web server determine if I have the latest version. >> >> But if the version is out of date, what do I do next? >> >> I am thinking I have to download the CAB file and place it in a >special folder and then initiate a reboot of the device (a warm boot). >I know you can have CAB file auto run after after a warm boot, but I >don't know where you have to put the file. >> >> So where is the special folder for that? >> >> And how do you initiate a warm boot from NSBasic? >> >> Or, if it is possible to close the NSBasic app and have the CAB file >be executed upon closing the NSBasic app, that would be an even better >solution. How would I do that? >> >> Any suggestions would be helpful. >> > > > > >------------------------------------ > >Yahoo! Groups Links > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~----------~----~----~----~------~----~------~--~---
