Hi,
When you save the visual basic project as an exe file is there a way where when the exe file opened it just executes (opens) the file (software/program created) instead of installing the software/program onto the computer.
Can you let me know as soon as possible as I need to save and do it as soon as please.
Mr MG
Gruff
08-11-2010, 05:29 PM
Hopefully you are talking about VB6 here, not VB.NET
Typically under Windows you have to create a setup.exe package to install a program on the target PC. This is because certain components may be needed for your program to run. The setup package copies those components as well as your compiled program to the new computer and registers them with the local windows registry. It is possible to do this manually but I would not recommend it.
If your program does not require any extra components you could just copy the compiled Executable to the new PC all by itself and it would run fine when clicked.
meggy_e
08-11-2010, 09:14 PM
if you mean about package and deployment, not just the app.exe, you can copy the content of SUPPORT folder and run the compiled app from there safely. in my experience, as long as dependancy files are within the same folder as exe file, no harm will be done.
i'd also like to delete unnecessary files, such as "VB6STKIT.DLL, SETUP1.EXE, ST6UNST.EXE, SETUP.EXE, Setup.Lst, *.BAT, *.DDF" before i copy it to other computer.
Hugh Lerwill
08-12-2010, 01:21 AM
>When you save the visual basic project as an exe file
1. The exe is saved by default to the project folder, but you can specify the path. From there it should just run on the host machine by double clicking it in Explorer. You should not need to 'install' it.
2. If a previous version of an exe has been previously installed/ run sucessfully on another computer, and a new version has no new dependencies, a new version of the exe can simply be copied over a previous one without having to 'install' it.
thanks got it sortid at the end.