[Gambas-user] sqlite database inside an executable
Benoît Minisini
gambas at ...1...
Fri Jun 1 17:46:07 CEST 2012
Le 29/05/2012 07:43, Bruce a écrit :
> Is there any way to access (read-only of course) an sqlite database
> inside the gambas executable?
>
> Strange idea I know, but I've got this "really good idea".
>
> Bruce
>
At program startup, you must copy the sqlite file from the executable
(with COPY) to a real file in a temporary directory, and then open it.
Some methods of some components can do that automatically and
transparently. But not gb.db.sqlite at the moment.
Regards,
--
Benoît Minisini
More information about the User
mailing list