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
Miscellaneous
Thread ID:
00659390
Message ID:
00659952
Views:
41
Hi!

About aMembers, in help file I read following:

oObjectName
Specifies the object whose member properties are placed in the variable array specified with ArrayName. oObjectName can be any expression that evaluates to an object, such as an object reference, an object variable, or an object array element.

So, it should be not an object name, but just an object reference.

I'm glad passing data as properties of Java Scrip object solved the problem.

>> Java Script, better use aMembers() function.
>
>I tried the aMembers() function to no avail. aMembers() wants the name of the object (I could only get the object reference itself).
>
>> For example, in Java Script, you can add property to object just by
>> assigning value to it:
>>
>>// This is a Java Script code
>>var rr = new Object;
>>rr.p1 = "Value1"
>
>This worked perfectly!!!
>
>My problem is solved!!!
>
>Thanks!!
>
>Hugh
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform