Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does FoxPro 6.0 handle collections? - Again
Message
De
22/09/1998 18:27:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00139271
Message ID:
00139640
Vues:
24
Tim ---

OK, I checked with my resident VB guru on this topic today and the answer is yes. If the collection is defined using Public instead of Dim; i.e.:

(Lets call this MyVBCom.DLL)

Public MyCollection As Collection
Let MyCollection[1]="Hi There" && Not sure about this syntax :-)

Then, on the VFP side:

oMyVBC=CREATEOBJECT("MyVBCom")
?oMyVBC.MyCollection(1)

...Should return "Hi There"

Is this what you're trying to do???


>
>You replied on 19/09/1998 18:11:10 to the thread "Does FoxPro 6.0 handle collections?". For some reason, I did not get your reply. Since I am not a Premier Member, I cannot go back and look at your response.
>
>Since you always have good information to share, can you repost your response again? I would greatly appreciate it! Here is my original question:
>
>I would like to write a FoxPro COM object to talk to a Visual Basic COM object. The VB object uses collections. Can FoxPro send and receive data in a collection?
>
>Thanks!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform