Solved

Can DAO recordsets be stored as .dlls ?

Posted on 1998-06-25
4
227 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
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…

839 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