Click here to Skip to main content
15,891,905 members

How to handle multiple version of office simultaneously?

2000 P asked:

Open original thread
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.
Tags: C#, .NET (.NET 3.5), Microsoft Word, PowerPoint

Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the http://www.codeproject.com/info/cpol10.aspx.



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