Solved

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

Posted on 2009-04-08
2
234 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 51

Accepted Solution

by:
Ryan Chong earned 500 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

828 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