Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSGraph Export
Message
 
À
05/11/2003 11:33:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00846572
Message ID:
00846575
Vues:
26
Try something like this:

use (your_table)
go (record_you wish)

keyboard '{Ctrl+C}{Ctrl+W}' plain clear
modi general (Field_name) && contents is in the Clipboard now
*open Excel
oExcel=CREATEOBJECT("Excel.Application")
WITH oExcel
.DisplayAlerts = .f.
.Workbooks.add()
.ActiveSheet.PasteSpecial("Picture (Enhanced Metafile)",.f.,.f.)
.ActiveWorkbook.SaveAs("C:\Book2.xls")
ENDWITH
oExcel.Quit
oExcel=.null.
RELEASE oExcel

>Hi,
>
>I am using a cursor with a general field to display graphs with MSGraph, is there any way i can copy the generated graph to a file/clipboard ?
>I tried the export method, from msgraph, but it returns a error !
>
>thx
>
>Guillaume
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform