Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

1 solution

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
 
Share this answer
 
Comments
2000 P 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900