Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to instantiate older Word?
Message
 
 
À
01/02/2009 15:47:48
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01378689
Message ID:
01378727
Vues:
19
A ProgID points to a CLSID. If all Word versions have the same CLSID (I recall they do) than you can only reference one of them, the latest one most likely.

>
oword=CREATEOBJECT("word.application.8")
>?oword.Version
>12.0
>
>The CLSID for all versions that I see on my machine (12, 11, 8) is the same, {000209FF-0000-0000-C000-000000000046}. I have Word 2007 and 2003 on this machine (I assume that 2007=12 and 2003=11, logic be exiled), and would really like to have a way to test my recent automation thingy on both. Is there one? A way, I mean.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform