Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to instantiate older Word?
Message
 
 
To
01/02/2009 15:47:48
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01378689
Message ID:
01378727
Views:
15
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform