Information générale
Catégorie:
Fonctions Windows API
>What is the best way to view a spreadsheet? I'm currently using a "RUN" command followed by the file name but this displays the "Foxrun" command window (big black box).
>
>Is there another, more elegant way to do this?
>
>Thanks in advance
Hello,
Excel is an EXCELLENT OLE server (i have used it extensively).
Anything you do think of with Excel can be nicely requested from fox.
Try this (should work with recent versions of Excel) :
oExcel=getobject(getfile("xls"))
oExcel.windows(1).visible=.t.
oExcel.application.visible=.t.
you can, of course do much more,
François
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement