|
-
Dec 13th, 2004, 09:55 PM
#1
Thread Starter
Lively Member
Database in application EXE file
Is there any way to store a database in EXE file?
Last edited by sinchan; Dec 16th, 2004 at 07:43 AM.
i love VB more than BV(means wife in our language)
-
Dec 13th, 2004, 09:58 PM
#2
Re: Database in application EXE file
-
Dec 13th, 2004, 09:59 PM
#3
Thread Starter
Lively Member
Re: Database in application EXE file
 Originally Posted by RhinoBull
The answer is NO.
i love VB more than BV(means wife in our language)
-
Dec 13th, 2004, 11:19 PM
#4
Re: Database in application EXE file
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
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 14th, 2004, 03:00 AM
#5
Re: Database in application EXE file
sinchan,
Why would you want to do that In other than a .zip (exe) file?
-
Dec 14th, 2004, 07:01 AM
#6
Addicted Member
Re: Database in application 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.
Sherminator ~ I'll be back.
-
Dec 14th, 2004, 08:14 AM
#7
Thread Starter
Lively Member
Re: Database in application EXE file
 Originally Posted by randem
sinchan,
Why would you want to do that In other than a .zip (exe) file?
DOS based ZIP (PKZIP.EXE, PKUNZIP.EXE) with password protection is stable? I faced lots of problem in past like password courreption.
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
i love VB more than BV(means wife in our language)
-
Dec 14th, 2004, 12:58 PM
#8
Re: Database in application EXE file
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|