Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Export from Graph8 in VFP
Message
 
 
To
11/12/2002 04:57:14
Martin Van Krieken
Capgemini Nederland Bv
Utrecht, Netherlands
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00731707
Message ID:
00733133
Views:
16
Take a look at INFO: Limitations of Run-Time MS Graph mskb #Q112483.

>Hello,
>
>I use MsGraph 8.0 in a VFP 7.0 application I'm building. This application exports the graph to a gif file. On my development machine everything workd fine (but I have serveral versions of MsGraph installed). On the production machine MsGraph wasn't installed so I made a setup in VFP 6.0 (I just had to check the checkbox) and ran the setup on the development machine. Next I ran this code:
>
>o = CREATEOBJECT('msgraph.application.8')
>o.Application.DataSheet.Cells(2,1).Value = 'A'
>o.Application.DataSheet.Cells(3,1).Value = 'B'
>o.Application.DataSheet.Cells(1,2).Value = 'West'
>o.Application.DataSheet.Cells(2,2).Value = 10
>o.Application.DataSheet.Cells(3,2).Value = 20
>o.Application.DataSheet.Cells(1,3).Value = 'East'
>o.Application.DataSheet.Cells(2,3).Value = 5
>o.Application.DataSheet.Cells(3,3).Value = 40
>o.Chart.Export('c:\test.gif')
>
>On the Export command I got this error:
>OLE error code 0x800a03ec:Unknown COM status code.
>
>I think I'm missing one or more MsGraph files on the production machine, but I have no idea which one(s).
>Has anyone an idea how to solve this?
>
>TIA,
>
>Martin
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform