Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi,
Is there any good reference available for this kind of scenario?
If multiple version of Word or PPT opened, code should able to handle the automation between the documents irrespective of their version.
I tried interop assemblies which work with one version at a time. But in case there is 2003, 2007, 2010 word documents are opened program should able to create the object for different version. But, in ROT at a time only one version of MS Word will register, that’s what I read.
I have asked many questions regarding this in many forums, but no replies make me o go ahead. At least somebody could tell me why multiple version of automation not possible?
Please note: When I am saying multiple version I am not saying about compatibility of application with different version of MS office in different time.
Posted 7-Jun-11 3:51am
2000 P569

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I am not real clear on what exactly it is you are trying to accomplish, but here goes.
 
If this is a company application used internally, the IT Admin can configure the Office application to save documents as Office 97-2003 compatible format by default. The 2003 interops generally work with office 2007. (Not sure about 2010 though) However it can be difficult to control if the application is used outside your company.
 
Regarding interop for multiple versions have a look at this link which appears to address your question:
http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/2b8dd0b3-a0b4-429e-ba64-4de6fdb45b6d/[^]
 
Regards
 
[Edit] Another link for you to look at: http://msdn.microsoft.com/en-us/library/dww0e04a.aspx[^]
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CPallini 235
1 DamithSL 225
2 OriginalGriff 198
3 George Jonsson 170
4 Maciej Los 165
0 OriginalGriff 5,305
1 DamithSL 4,382
2 Maciej Los 3,760
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,901


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 7 Jun 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100