Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing JavaScript Array Object to VFP COM
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Passing JavaScript Array Object to VFP COM
Miscellaneous
Thread ID:
00659390
Message ID:
00659390
Views:
169
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
Microsoft hears loudest what the VFP community says about Visual FoxPro by looking at the bottom line!

Support the product. Buy the latest version!

Hugh Winters @ WorldData 408-512-1131
Next
Reply
Map
View

Click here to load this message in the networking platform