Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Can DAO recordsets be stored as .dlls ?

Posted on 1998-06-25
4
Medium Priority
?
231 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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 (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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
Suggested Courses

636 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