Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IDispatch?
Message
From
01/02/2002 10:12:23
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00613848
Message ID:
00614006
Views:
67
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
Map
View

Click here to load this message in the networking platform