Hi Michel,
I don't think you can use this activex control in VFP. The Object Browser (VFP 7) shows that ObjectAttribute is a
property of the control. However from VFP point of view it's method because it has parameters, I guess. VFP generates 'Syntax Error' because you cannot assign values to a method of the control.
>
>I am trying to use the demo version of the pdf creator but some code that I try doesn't work. Maybe I make some mistake.
>
>x=CREATEOBJECT("pdfcreactivex.pdfcreactivex")
>x.InitBlank
>x.CreateObject(5 ,"text1") && creating a acobjecttypetext
>x.ObjectAttribute("text1", "text") = "Hello" && this line give an error
>x.Save("d:\temp.pdf",0) && saving the file is working
>
>
>I want to be able to format a document and insert some text. Maybe someone a few sample of code in VFP. This will help me to start using the Amyuni Creator.
>
>Thanks
>
>Mike
--sb--