Read this blog post, hopefully it's helpful.
http://weblogs.foxite.com/vassilisaggelakos/archive/2006/05/22/1565.aspxUpdate: I see that this is rather old stuff, and that the links are dead. Sorry...
>Thank you Chris,
>I know Autocad automation, but to use it it's necessary to buy the full (very expensive) version of Autocad.
>So I was wandering if there is an alternative with an activex or external exe to be integrated in VFP.
>
>Bruno
>
>
>>Hello Bruno,
>>
>>Do you really want to include an CAD-ActiveX in VFP?
>>What are you planning to do?
>>
>>It mabe easier to use an api. For example AutoCAD:
>>
>>
>>goACAD = CREATEOBJECT("AutoCAD.Application")
>>goACAD.Visible = .T.
>>
>>DIMENSION laXCoord(3) AS Double
>>laXCoord(1) = 10
>>laXCoord(2) = 20
>>laXCoord(3) = 0
>>
>>goacad.ActiveDocument.ModelSpace.AddCircle(@laXCoord, 10)
>>
>>
>>More:
>>
http://fox.wikis.com/wc.dll?Wiki~DrivingAutoCADFromFoxpro