Solved

Can DAO recordsets be stored as .dlls ?

Posted on 1998-06-25
4
226 Views
Last Modified: 2011-10-03
Since my array recordsets are access frequently, Can both control arrays and DAO recordsets be stored as .dlls ?
0
Comment
Question by:optical
  • 2
4 Comments
 
LVL 6

Expert Comment

by:clifABB
ID: 1464324
Yep, as long as they are Activex DLLs.
0
 

Accepted Solution

by:
MikeReilly earned 50 total points
ID: 1464325
You can store recordset information in a dll.  I believe you have to pass recordsets to/from automation servers as variant data types, so you will have to assign your recordset to a variant data type before you transfer, and re-assign to recordset once the target receives it.  You have to be careful if you are creating a server that will be available to multiple clients, as you have the issue of each client creating a separate instance of the dll.  If you are using VB, look into the following topic in Books On-line:
1. ActiveX components (read the whole chapter)
2. COM

I'm not so sure about control arrays, however.

0
 
LVL 6

Expert Comment

by:clifABB
ID: 1464326
MikeReilly:
If the ActivexDLL is going to be used by VB exclusively, you can pass recordset types.
0
 

Author Comment

by:optical
ID: 1464327
Thank you.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now