Hi Yoganathan,
If all you need to do is put the value of the first element of the array into a property of the ActiveX control, you need to reference the element in the array to use.
dim MyArray[3]
MyArray[1] = "Willaim"
MyArray[2] = "H."
MyArray[3] = "Gates"
ActiveX.myproperty = MyArray[1]
hth
>I want to assign a array to a activex property how can I do it in VFP.
>
>ActiveX.myproperty = myArray
>
>is assigning only the first element of the array.
>
>ActiveX.myproperty = @myArray
> gives an error
>
>Any help please ?
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!