Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Test if Excel is installed
Message
De
15/02/2009 07:33:10
 
 
À
14/02/2009 19:53:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01381728
Message ID:
01381867
Vues:
51
You're welcome.

>Thanks!
>It sounds perfect to me!
>
>>>Hi.
>>>I need to test if Microsoft Office(Excel) is installed before creating an
>>>Excel object.
>>>I will be greate if I can get the version number too.
>>>Thanks in advance.
>>
>>With VFP9 this is very easy
>>Try
>>   lox=Createobject('excel.application')
>>   lcVersion=lox.Version && 11.0=Excel 2003, 12.0=Excel 2007
>>Catch
>>   Messsagebox('Excel is not installed')
>>Endtry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform