Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to run Excel in VFP9 in different version of Win OS?
Message
 
À
27/06/2007 21:51:04
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01235914
Message ID:
01236199
Vues:
12
>Hi,
>I just key in your code in my program.
>
>
>
>TRY
>  oExcel = CREATEOBJECT([Excel.Application])
>CATCH
>   MessageBox([There is no EXCEL installed])
>ENDTRY
>oExcel.visuable = .t.
>
TRY
  oExcel = CREATEOBJECT([Excel.Application])
  oExcel.WorkBooks.ADD()
  oExcel.Visible = .t.
CATCH
   MessageBox([There is no EXCEL installed])
ENDTRY
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform