|
-
Nov 17th, 2005, 07:15 PM
#1
Thread Starter
Junior Member
[RESOLVED] Linking Access databases with DAO
I need some help to deploy my VB6 application working with Access databases. I want the user to have the possibility to install the program and the databases in any directory. How do I direct the links in the DAO to the databases before exporting? Do you recommend to use the internal packing wizard, or is it better to use another?
-
Nov 17th, 2005, 07:37 PM
#2
Re: Linking Access databases with DAO
Inno Script and Inno Setup let you deploy where you want, plus includes the options for desktop icons and Quick Launch shortcuts automatically.
You can use APP.PATH to get the folder that they have installed into, or append any other folders to it. APP.PATH & "\Databases\"
-
Nov 17th, 2005, 08:58 PM
#3
Re: Linking Access databases with DAO
You could set your DAO OpenDatabase argument to something like dglienna posted using the App.Path & "\YourDBName.mdb". There is no need to recreate everything in another installer program as this issue is a programming issue and not a packaging problem.
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 
-
Nov 18th, 2005, 03:38 PM
#4
Thread Starter
Junior Member
Re: Linking Access databases with DAO
Thanks for your advice. I hope I will manage to link them the way they should with the method described.
Last edited by Osprey; Nov 18th, 2005 at 08:07 PM.
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
|