Is there any way to store a database in EXE file?
Printable View
Is there any way to store a database in EXE file?
The answer is NO.
:cry:Quote:
Originally Posted by RhinoBull
If you just need to store the blank database for the first time youur exe runs
and you are using Access then you could just create one on the fly. In my
code located here it uses Access and DAO to create a new db, two tables, and a
relationship between the two.
HTH
sinchan,
Why would you want to do that In other than a .zip (exe) file?
Much thanks to RobDog888.
I have a project I am working on that required me to create a relationship between two tables through code, and I was totally lost. The code was exactly what I needed. :D
DOS based ZIP (PKZIP.EXE, PKUNZIP.EXE) with password protection is stable? I faced lots of problem in past like password courreption.Quote:
Originally Posted by randem
But how can I convert ZIP to EXE through VB? Is there any utility which can run through VB?
This can be very helpful to me, please reply :confused:
sinchan,
You don't use DOS based zip files. But if the only thing you want to do is to create a database then the code RodDog888 gave you is fine. The other way to include your database in a exe file is to create a install package to distribute your app with all the items it need to run (including database). In that case try ********** and Inno Setup to create your setup application.