Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using VB DLL's from VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00410329
Message ID:
00410345
Vues:
16
>>Create a collection in the VB .DLL to hold the data, and populate it with the data that you want to return; rather than returning the value as a single value from the method, simply spin through the collection after calling the method that populates it.
>
>Can you give me some pseudo-code showing me how to spin through that collection in VFP? Does VFP see it as an array, or what?
>
ox=CREATEOBJ('MyRandom.VBOCX')
ox.PopulateMyCollection()
FOR EACH oCollectionMember IN ox.MyCollection
  ? oCollectionMember  && assuming it's a simple member
ENDFOR
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform