Results 1 to 8 of 8

Thread: [RESOLVED] Single EXE in vb6

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Posts
    269

    Resolved [RESOLVED] Single EXE in vb6

    Hi,

    Is that an advantage to put the single EXE file that generate by the vb6 on the LAN and let multi-user just point a shortcut to and all running the application from that single EXE copy?

    Thanks!

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Single EXE in vb6

    Some companies prefer this method, some like to have server scripts "pushing" most recent version to user's workstation on every restart and they also encourage people to actually reboot their machines before they leave... and some companies (mostly very small) don't even bother with either method - local install only.
    There is also CITRIX which is a life saver when it comes to deployment...
    So it really depends on your business structure.

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

    Re: Single EXE in vb6

    Reminder: you can only do that if all the dependencies that are required for the app is already installed on all machines. Unless you are running pre configured Virtual Machines.

  4. #4

  5. #5
    Addicted Member tcurrier's Avatar
    Join Date
    May 1999
    Location
    Northeastern Pa./USA
    Posts
    255

    Single EXE in vb6

    Could someone explain to me the advantages or disadvantages of 'pushing' an Exe down from the server to the local machine at each restart ?

    Actually I have 'startup' programs that do this now, but I only did it for program updating purposes. For a program that I change that has a lot of users, I can't recompile the Exe on the server while a user is running the application.
    So I push it down to their C:\TEMP directory and run the Exe from there.

    I'm just curious if I should be doing this for ALL of my programs, or for the ones that aren't used or changed a lot, it won't really matter ?
    VB6 Enterprise SP4

  6. #6
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Single EXE in vb6

    Quote Originally Posted by tcurrier
    Could someone explain to me the advantages or disadvantages of 'pushing' an Exe down from the server to the local machine at each restart ?...
    It's a way to ensure every valid user has most recent version and also all additional files (if any). Also, you leave this in the hands of net admins so it's little less resposibilities for you.

  7. #7
    Addicted Member tcurrier's Avatar
    Join Date
    May 1999
    Location
    Northeastern Pa./USA
    Posts
    255

    Re: Single EXE in vb6

    Well, the Net admins don't even know my program exists, unless I'm being ignorant.

    I'm far from undertstanding operating systems, but I'm curious why I can't recompile a program on the server while a user is 'running' the program? When a user's shortcut points to my program on the server, doesn't the OS actually load the machine code/bytecode, whatever, into their own personal memory ?
    Or are the machine instructions actually 'running' on the server ?

    If a user shuts down his laptop for the day and goes home, and he didn't 'close' the program, it isn't still actually 'running' on the server, is it ?!?
    VB6 Enterprise SP4

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

    Re: Single EXE in vb6

    If the exe is being run the file is actually locked from writting and deleting, so you cannot update it while it is running.

    No, nothing is actually running on the server at all.

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