Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing an array from VFP to VB
Message
From
14/02/2000 13:47:52
Ken Yates
Virgo Publishing, Inc.
Phoenix, Arizona, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Passing an array from VFP to VB
Miscellaneous
Thread ID:
00331822
Message ID:
00331822
Views:
90
Can you pass an array from VFP to VB???

"DistCalc" is a function in a VFP class that is returning an array of values. When passing the array to "strSearch" I get an error stating there is a problem with the "subscript".

This is the VB code calling the VFP Class.

strSearch = objFox.DistCalc(strDB, strlatlon, intMiles)

I have tried declaring "strSearch" as a Variant, Array, String and Object. It errors out each time.
Next
Reply
Map
View

Click here to load this message in the networking platform