Running a exe compiled with VB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vdraceil
    New Member
    • Jul 2007
    • 236

    Running a exe compiled with VB

    Can a VB6.0 exe run on any computer(window s platform)?Some of my exes run on other computer,while some dont!What may be the reason?I dont understand...
  • lotus18
    Contributor
    • Nov 2007
    • 865

    #2
    Originally posted by vdraceil
    Can a VB6.0 exe run on any computer(window s platform)?Some of my exes run on other computer,while some dont!What may be the reason?I dont understand...
    Exe file is not enough. You need to install them (this may includes all the references you have used.).

    Rey Sean

    Comment

    • vdraceil
      New Member
      • Jul 2007
      • 236

      #3
      Originally posted by lotus18
      Exe file is not enough. You need to install them (this may includes all the references you have used.).

      Rey Sean
      I just created an exe in vb and wrote it into a cd along with all the files my program uses in run time..i included a file for autoplaying the cd..to my wonder it works in all my friends computers..i dont know why.i too thought that i might need a setup file,but my friend insisted to do so..

      Comment

      • QVeen72
        Recognized Expert Top Contributor
        • Oct 2006
        • 1445

        #4
        Hi,

        If VB6 is already installed in other machines, then you dont need a set-up file.. Your exe (with DB and Reports) should work , just by copying.
        Creating and Installing the set-up package is necessary where VB6 is not loaded..
        Its a good practice to Install your Software /exe thru a Set-up package..

        Regards
        Veena

        Comment

        • mariusseven
          New Member
          • Mar 2008
          • 19

          #5
          Use the Microsoft Visual Studio 6.0 Tools Package and Development Wizard to create a package file so that all the components and references that you used in your application will be included.

          Comment

          Working...