Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Word
i am coding project to convert word to other format.
I use interop word in VS 2010.
I search and know office 2007 PIAs is used to replace MS office.
Can I use office 2007 PIAs and not install MS office to use interop word??
Thanks,
Posted 12-Dec-11 18:18pm
hieupn512
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

As far as I am aware from my own experience you can reference the Office PIA's in your project but if the client wishes to use that part of your program then they have to have Word installed.
 
If you try to use interop and Word is not installed then you will get an exception.
  Permalink  
Comments
hieupn at 16-Dec-11 3:40am
   
do you mean I cant do it????
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Office automation without installing office ?
Yes, it can be reached using Open XML office[^]
 
as word suggest DOCX- documents with XML support. we can manupulate word files through openxml.
 
Here is good example Open XML for office 2007.
Basics of OpenXML (Word 2007) for Beginners[^]
Read and write Open XML files (MS Office 2007)[^]
MSDN Example[^]
 

you can get openXML FAQ here.
open xml office 2007 Forum[^]
  Permalink  

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 520
1 Mathew Soji 315
2 Shweta N Mishra 269
3 BillWoodruff 240
4 OriginalGriff 235
0 OriginalGriff 6,168
1 Sergey Alexandrovich Kryukov 5,818
2 DamithSL 4,988
3 Manas Bhardwaj 4,539
4 Maciej Los 3,775


Advertise | Privacy | Mobile
Web01 | 2.8.1411019.1 | Last Updated 16 Dec 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