Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a DLL

Status
Not open for further replies.

99mel

Programmer
Oct 18, 1999
379
GB
Helloooo,

I have a DLL that i've made, its possible to return a collection from the DLL isn't it?

would it be something like

Dim obj as mydll.procedure
Dim MyCollection as new collection

Mycollection = obj.RetrieveColl(blah, blah, blah)

Any help much appreciated!

:-D

 
Yes, it is possible to return a collection from a DLL . . . however, you do not need to declare the DLL as new and you will need to use the Set command to set your reference. For example . . .

Code:
Dim obj as mydll.procedure
Dim MyCollection as collection
Code:
Set
Code:
 Mycollection = obj.RetrieveColl(blah, blah, blah)
- Jeff Marler B-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top