Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Amyuni pdf creator code
Message
 
 
To
21/11/2001 15:18:40
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00584675
Message ID:
00584939
Views:
19
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform