Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Is it possible to include a mdb file in a dll?

Posted on 2009-04-08
2
Medium Priority
?
256 Views
Last Modified: 2013-12-25
I have a main app that was written in vb.net.  I also have routines for a specific quarter that were written in vb6.  I've managed to consolidate the vb6 routines for specific quarter into a dll which can be called from vb.net.  I now need to know if it is possible to include a MDB file into the dll; we have several mdb files with the same name that contain data for specific quarters.  We to include the mdb file relating to the specific quarter to the appropriate dll file.  Would anyone know if this is possible?  And if so, how would it be done?

Thank you.
0
Comment
Question by:CarmenMTorres
2 Comments
 
LVL 54

Accepted Solution

by:
Ryan Chong earned 1500 total points
ID: 24103790
>> I now need to know if it is possible to include a MDB file into the dll

That's not possible.

However, you can have password protected your mdb files, or even rename the file extension, if you want to.

for the same database file names, you need to have a proper directory structure to handle it.
0
 

Author Closing Comment

by:CarmenMTorres
ID: 31568056
I kind of expected that it was not possible, but I needed confirmation.  Thank you for your assistance.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question