Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automation with MSGraph
Message
De
30/06/1998 04:50:53
 
 
À
29/06/1998 19:00:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00109120
Message ID:
00112823
Vues:
44
>>>>What about createobject("msgraph.chart.5") ?
>>>>I have not tested but possibly creates a graph 5.0 chart.
>>>>Carlos.
>>>
>>>I´ll try an let you know if it works, Thanks.
>>
>>Theoretically, the sintax of createobject's parameter is 'application.object.version'. But i don't know if in this case msgraph 8 is overwriting 5.
>
>I tried but unfortunately the created graph is still MSGraph'97 (in my case), I've been recommended to check that OLE class is well registered but how is this done?

Oscar,

Si tu problema es que vas a tener que instalar la aplicación en equipos que no tienen el office 97, y por tanto no tienen graph 8, entonces, usando la sintaxis que anteriormente te he dicho, no deberías tener ningun problema: en tu equipo usará la versión 8, pero en aquel que no la tenga, usará la 5.

Solamente deberás tener cuidado en usar metodos y propiedades compatibles con la versión 5 mientras estas desarrollando. Para eso, en la ayuda de Visual Basic (En excel: herramientas, macro, editor de visual basic, 'f2', herramientas, referencias) usa la ayuda de graph 5 y no la de graph 8.

Pruebalo, no creo que tengas ningún problema.

Carlos.
Saludos,
A.G.P.
---------
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform