>>>Hi,
>>>
>>>I develop apps specifically for our company rather than a bunch of different clients. Frequently, I make changes to the code that does not impact the data structures. I've been using a batch file to copy the latest .exe from the server to the local drive and then execute it, thus ensuring that everyone gets the latest .exe on startup.
>>>
>>>But this leaves an ugly black DOS box running (and an additional program on the task bar) that I'd like to eliminate.
>>>
>>>I'd like to know how you all accomplish this type of update.
>>>
>>>TIA
>>
>>
>>Create a loader program that looks for the newest actual EXE on the server. If one is found, it is copied down to the local drive, then the loader just does DO Real.EXE.
>
>Then the loader exits, or does it keep running until Real.exe exits?
>
>Thanks
It keeps running, but it's really small...only a dozen lines of code, so it doesn't matter.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer