Results 1 to 8 of 8

Thread: exe of project

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2006
    Location
    nasik,india
    Posts
    909

    Exclamation exe of project

    i am having my project in vb which is multiuser.
    when i have to install it on any machine, i make setup of project.
    and install it.
    when i have to make any change to my project, each time i have to make new exe. and copy that exe to each client machine's c:\program file\.. folder.
    Can there any method to copy exe on each machine rather i will change only at one machine and will get updated to each machine ?

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: exe of project

    Do you have a network? If so here are a few ways:

    1) Have them run it from the server.
    2) Have the logon process copy the file if it is newer.
    3) Have your program can check to see if it is the latest version and if not then spawn a process to copy the newer version.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2006
    Location
    nasik,india
    Posts
    909

    Re: exe of project

    if i put one exe on server and create its shortcut to each machine, then
    it gives error.
    There is network.
    i didn't get your 2nd option.

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: exe of project

    Giving us the error message would probably help...

    The second option would have have a logon script on the server that would copy your file to each users machine when they logon. A network administrator would have to do this one.

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2006
    Location
    nasik,india
    Posts
    909

    Re: exe of project

    Thank you so much.
    Can you tell me anything more about it.
    which i can do.

  6. #6
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: exe of project

    The third option is basically the same except you don't need and administrator.

    The second option: There is an area in each users logon profile that can run a script upon loging on. This script would basically check your program and copy the file. The script is just a simple batch file.

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2006
    Location
    nasik,india
    Posts
    909

    Re: exe of project

    3) Have your program can check to see if it is the latest version and if not then spawn a process to copy the newer version.
    i want to use this option, but how i can state a code to copy exe which is actually running at the same time ?

  8. #8
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: exe of project

    There are plenty examples of a program update on the forum. Basically all you need to do is to check the version number of your program exe and if it is lower than the current version you copy the new one.

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