Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# .NET Office Word
Hi friends,
Googled for some sample code which interact with different versions of MS office applications. Not able to find something helpful.
I need to work with 2003, 2007, 2010 version of word and ppt. Could anybody help me to ive some resource on this. Specifically, getting specific versions instance, moving data between different versions document etc.
Thanks in advance.
Posted 28-Apr-11 21:49pm
2000 P569

1 solution

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

Solution 1

Hi Prasad,
 
If i'm getting your question exactly you've an application in which you manipulate word and PPt files.
 
Well if that is the case you must be referring interop assemblies of these application and then the object model of respective application. The interop assembly you will find on your machine in most cases will be the matching version of the office installed. For example Office 2003 the version will be 11 and so on.
 
Microsoft claims that office applications are backward compatible so if you have office 2003's assembly, ideally it should work for higher versions 2007 & 2010. Certainly you won't get new features but you shouldn't have any problem for what you are targeting.
 
i've found a nice article http://devcity.net/Articles/163/1/article.aspx[^]
 
Hope this will help.
 
Thanks,
Hemant
  Permalink  
Comments
prasad.koila at 29-Apr-11 7:18am
   
thank you Hemant.... Got some idea :)

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 545
1 Kornfeld Eliyahu Peter 407
2 Maciej Los 369
3 DamithSL 221
4 OriginalGriff 218
0 OriginalGriff 6,383
1 DamithSL 4,879
2 Maciej Los 4,476
3 Kornfeld Eliyahu Peter 4,056
4 Sergey Alexandrovich Kryukov 3,927


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 29 Apr 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