RE: replacing a running program

  • From: "Ken Perry" <whistler@xxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sat, 23 Feb 2008 09:12:20 -0800


You didn't say if you were using .net or not but here is a link that I found
useful for this 

http://msdn2.microsoft.com/en-us/netframework/aa497367.aspx 

Ken

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Octavian Rasnita
Sent: Saturday, February 23, 2008 6:45 AM
To: programmingblind@xxxxxxxxxxxxx
Subject: replacing a running program

Hi,

I've made a program for Windows and I want to add a function that downloads
a newer version of this program if available, but I want it to replace the
current version with the newer one.
I know that under Windows if the program is running, I cannot delete it in
order to replace with the newer version.

I want it to act something like the extraordinary program UTorrent even
though my program is not made using the same language.

Do you have any idea how to do that, without creating a second program that
does the download and replacement?

Thank you.

Octavian

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: