Morten Wennevik <Mo************@hotmail.com> wrote in
news:oprxjocdgshntkfz@localhost:
Never tried this but, couldn't you start an upload program and close
the original program. The upload program sends the current version
number to the web site and downloads whatever the web site decides you
should upgrade with. Then runs the upgrade and starts the original
(now upgraded) program, while closing itself.
yeah, that would be possible, but if you don'T want to run a seperate
programm you could do this:
Start a new AppDomain.
Use Reflection to Create an Instance of the updated version in the new
AppDomain.
Start the updated Version.
the New version than takes care of shutting down the old AppDomain and
overwriting the file on the harddisk.
--
best regards
Peter Koen
-----------------------------------
MCAD, CAI/R, CAI/S, CASE/RS, CAT/RS
http://www.kema.at