Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing an array from VFP to VB
Message
De
14/02/2000 14:57:39
 
 
À
14/02/2000 13:47:52
Ken Yates
Virgo Publishing, Inc.
Phoenix, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00331822
Message ID:
00331877
Vues:
13
>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.

You might test with the COMARRAY() function on the VFP component and see if that does the trick.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform