Results 1 to 3 of 3

Thread: Replace running exe

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 1999
    Location
    Ont, Canada, Earth
    Posts
    458

    Replace running exe

    Hi,
    I have this program running on a network drive. At any time several users can be running the program on their computers from that network location.

    Problem is that every now and then I need to replace the exe with a new version but since the program might be opened on some user's computer, Windows won't let me do it.

    How can I override my exe with a new version or shut down all running programs?
    Thanks

    Tomexx.

  2. #2
    Lively Member
    Join Date
    May 2002
    Posts
    69
    Probably isn't the best solution in the first place if you frequently update this program. I don't think it is possible at all to overwrite it while in use.

    You should have it installed individually on each PC. Have the program check each time it starts up for a new version on the server, if it is new, run a small update app or batch file and then have it automatically relaunch the main app.

  3. #3
    Lively Member vbgamer45's Avatar
    Join Date
    Sep 2004
    Posts
    72
    Delete a file in use - Run an EXE in another process' memory - EXE Hijacking

    Posted on Pscode.com
    http://pscode.com/vb/scripts/ShowCod...45195&lngWId=1

    By my good friend Alex

    Hope that helps
    Last edited by vbgamer45; Sep 17th, 2004 at 10:03 AM.
    Semi VB Decompiler 0.07 Getting better everyday
    http://www.visualbasiczone.com/produ...ivbdecompiler/
    VisualBasicZone
    http://www.visualbasiczone.com
    EasyPHPBB.com
    Free PHPBB forums the quick and easy way!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width