Results 1 to 3 of 3

Thread: Compile Exe File VS deployment package VB6

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2007
    Posts
    37

    Compile Exe File VS deployment package VB6

    Hi,

    I know how to create exe file (File menu -> create exe.file)
    and I know how to deploy the package to make a setup.exe file (install it in the every user workstation)

    However,
    what is the different between them?

    Just create exe file, every user can use it and run it, doesn't need to install anything.

    if I deploy the package, and then every user need to intall it on their workstation, and then run it.

    They work same thing.

    What is the advantage for deployment the package?

    Thanks.

  2. #2
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Compile Exe File VS deployment package VB6

    If you use the default control shown in the toolbox, There is no need to install the software in the client machine.If you use any OCX,DLL then you have to create package to install in the client machine.The choosen OCX and DLL are to be copied to the client machine and properly registered
    Please mark you thread resolved using the Thread Tools as shown

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Compile Exe File VS deployment package VB6

    Welcome to VBForums accessman2!

    I'm afraid you are both wrong.. no matter how simple your VB program is, you need to install it to make it work.

    The executable file that is created by compiling your program (.exe/.dll/...) has several extra files that are needed (such as the VB runtimes), and they must be installed in order for your program to work.

    Old versions of some of these files are included with newer versions of Windows (like XP), or have been installed by other VB programs, but it is not a good idea to rely on them.. If an old version of any of the files is installed (say SP2 when you are using SP6) then your program will seem to work, but you are likely to have 'random' bugs.

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