Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / February 2005



Tip: Looking for answers? Try searching our database.

update new executable file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mallows Espiritu - 28 Feb 2005 18:56 GMT
Hi all!  I have an old executable file in my computer and how can I
update/replce/overwrite it with the new exe file located in the server
I'm connecting to.  It's like I want it to get the new exe file and
replace it before executing the application.  The same concept with
updating new virus definitions in your pc.  How can it check if there's
a newer version of the exe file?
Ken Halter - 28 Feb 2005 22:39 GMT
> Hi all!  I have an old executable file in my computer and how can I
> update/replce/overwrite it with the new exe file located in the server
> I'm connecting to.  It's like I want it to get the new exe file and
> replace it before executing the application.  The same concept with
> updating new virus definitions in your pc.  How can it check if there's
> a newer version of the exe file?

Virus defs are different. An exe locks itself while running so you can't
simply over-write it with a newer version. Seems like everyone has their own
way of doing it. One way is to separate the "update check" from the app
itself.. So, if the app is called "AppB.exe", you create another one called
"AppA.exe" that only has two jobs. Those job are... to look at the server
for a newer version of "AppB.exe" and installed it if found. Once "AppA"
either updates or finds that it doesn't need an update, it launches "AppB"
(that's it's second job). Doing this is pretty easy and straight forward.

Signature

Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.