Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Choose Excel version
Message
De
01/04/2014 10:29:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
30/03/2014 04:51:43
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP3
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01597666
Message ID:
01597879
Vues:
26
>>Hi. To open Excel, I give a command like:
>>
>>
>>loExcel = CreateObject("Excel.Application")
>>
>>
>>On one machine, there are two versions of Excel installed; I think it's Excel 2003 and 2007. Is there a way to control what version of Excel will be opened?
>>
>>This is actually solved already, in the sense that the corresponding user decided to remove the old version of Excel. But I was still curious whether there is any way to control this.
>
>you could save registry status, set values to point to old versions, call and reset afterwards. No, not reccommended, not even experiments ;-)
>Could work with older DDE - don't you set a path there to the corresponding exe if needed ?

I don't know about paths; all I ever did was invoke Excel with the CreateObject("Excel.Application") instruction; I never worried about where it might be installed.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform