Click here to Skip to main content
11,411,922 members (60,613 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: WPF
how we can show preview .doc or .docx (word) in wpf applicatons?
Posted 12-Apr-11 3:01am
leili_b791
Edited 12-Apr-11 3:03am
v2
Comments
Tarun.K.S at 12-Apr-11 8:04am
   
That's a good question!
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
Tarun.K.S at 12-Apr-11 8:14am
   
Perfect should work. 5d and bookmarked!
Manfred R. Bihy at 12-Apr-11 8:17am
   
Thanks Tarun!
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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

Solution 5

Hi, here are some alternatives to Office Interop for DOCX files:
- OpenXML + FlowDocument
- Show Word file in WPF

Unfortunately there is no similar solution for DOC (a binary file format).
If you have a relatively small Word document then you can use this .NET Word component for free.
Here is a sample how to show document file in DocumentViewer: http://www.gemboxsoftware.com/SampleExplorer/Document/WPF/ExporttoXpsDocument_DocumentViewerControl[^]
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 268
1 Sergey Alexandrovich Kryukov 200
2 Sascha Lefévre 170
3 ProgramFOX 130
4 Maciej Los 110
0 Sergey Alexandrovich Kryukov 8,955
1 OriginalGriff 7,158
2 Maciej Los 3,480
3 Abhinav S 3,248
4 Peter Leow 3,059


Advertise | Privacy | Mobile
Web01 | 2.8.150414.5 | Last Updated 9 Sep 2013
Copyright © CodeProject, 1999-2015
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