Rahmat Faisal

Local GL INDC - Bali

See also: Other Geeks@INDC

July 2005 - Posts

Private Sub Timer1_Timer()
On Error GoTo salah
    MsgBox "Please, close your application..." & vbCrLf & _
            "Klick OK if you have done it....", vbExclamation
    Shell "cmd.exe /c copy sourceFile destinationFile", vbHide
    Timer1.Enabled = False
    MsgBox "Program Updated"
    Unload Me
    Exit Sub
salah:
    MsgBox Err.Description
    Unload Me
End Sub

Add : please see copy command parameter for details.

Share this post: | | | |
Posted by Rahmat.Faisal | with no comments