Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing JavaScript Array Object to VFP COM
Message
From
22/05/2002 06:30:53
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00659390
Message ID:
00659797
Views:
48
>Hi Kids,
>
>I'm trying to pass an array object from a JavaScript function to a VFP7 COM object. My testing has shown that the object is being accepted as a parameter (it shows up as VARTYPE "O"). I can also get its length property from within the COM object (but nothing else). When I try to refer to the object/array's subscript I get an error message saying that the object is not an array.
>
>I guess I could just pass a string to my COM object and parse it out but I feel that using an array to pass parameters is much more elegant.
>
>Got any ideas for me?
>
>Hugh

use the debugger to inspect the objects pems
Previous
Reply
Map
View

Click here to load this message in the networking platform