Y
yxq
Hello,
I want to update A program file from A.
First startup A, then startup B process from A, close A, B will copy new
file to replace A file.
But system states that A is using.
A code:
////////////////////////////////////////////
Dim objProcess As New Process
objProcess.StartInfo.FileName = "B.exe"
objProcess.Start()
Me.Close()
B code:
///////////////////////////////////////////
IO.File.Copy(NewFile, A.exe, True)
Thank you.
I want to update A program file from A.
First startup A, then startup B process from A, close A, B will copy new
file to replace A file.
But system states that A is using.
A code:
////////////////////////////////////////////
Dim objProcess As New Process
objProcess.StartInfo.FileName = "B.exe"
objProcess.Start()
Me.Close()
B code:
///////////////////////////////////////////
IO.File.Copy(NewFile, A.exe, True)
Thank you.