General information
Category:
ActiveX controls in VFP
For me this works for viewer 2.0 but if you install the newest viewer 3.0 you'll see it no longer works. It now returns IDISPATCH...
Try with :
osvg= CREATEOBJECT("Adobe.svgctl.3")
Instead if you have both controls installed and you'll see the problem I'm trying to fix.
You can check version with:
?osvg.getSVGViewerVersion
>
>osvg.Src = GETFILE("svg")
>oSVGDoc = osvg.GetSVGDocument()
>? oSVGDoc.URL
>
>>I'm not sure what an IDispatch is but, I'm tryinig to use the SVG viewer 3.0.
>>To access the document I use the getsvgdocument method which returns IDispatch.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only