Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel worksheets in VFP6
Message
De
11/01/2000 04:58:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Excel worksheets in VFP6
Divers
Thread ID:
00316031
Message ID:
00316031
Vues:
45
Hi, could someone please help. I am using the code below to open an Excel worksheet in a Foxpro v6 application. From the command window I don't have a problem, but when I compile the app, the Excel worksheet momentarily displays and then diappears. What am I doing wrong? Any help would be appreciated.

** code being used
gfile=getfile("xls")

If !empty(gfile)
oleApp = createobject("Excel.Sheet")
oExcel=oleApp.Application
oExcel.Workbooks.Add(gfile)
oleApp=getobject(,"Excel.Application")
oleApp.Application.visible=.t.
Endif

Kind regards, Mike Mayo
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform