Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using VB DLL's from VFP
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00410329
Message ID:
00410345
Views:
15
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform